Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

hello command with parameter.

Complete - task : create simple GoGo command
  • Loading branch information...
commit 7a526054f4b6cb864f2e957093b58fcd32aff367 1 parent 12c8ffc
@ceefour authored
View
1  src/OSGI-INF/blueprint/gogosimple1.xml
@@ -10,6 +10,7 @@
<array value-type="java.lang.String">
<value>walk</value>
<value>talk</value>
+ <value>hello</value>
</array>
</entry>
</service-properties>
View
5 src/gogosimple1/SimpleCommand.java
@@ -16,4 +16,9 @@ public void walk() {
public void talk() {
System.out.println("talking");
}
+
+ public void hello(String name) {
+ System.out.println("hello " + name + "!");
+ }
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.