Changes:
* Added support of defining commands services with Declarative Services
Command service registration with DS:
<?xml version="1.0" encoding="UTF-8"?>
<component name="shell_test.component">
<implementation class="...ShellTestService"/>
<service>
<provide interface="...ShellTestService"/>
</service>
<property name="org.knowhowlab.osgi.shell.group.id" type="String" value="test_group_id"/>
<property name="org.knowhowlab.osgi.shell.group.name" type="String" value="Test commands"/>
<property name="org.knowhowlab.osgi.shell.commands" type="String">
bndinfo#bndinfo <bundleId> - Print information for bundle with <bundleId>
bndsinfo#bndsinfo - Print information for all bundles
</property>
...
</component>
Maven artifacts:
<dependency>
<groupId>org.knowhowlab.osgi.shell</groupId>
<artifactId>equinox</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.knowhowlab.osgi.shell</groupId>
<artifactId>felix</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.knowhowlab.osgi.shell</groupId>
<artifactId>felix-gogo</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.knowhowlab.osgi.shell</groupId>
<artifactId>knopflerfish</artifactId>
<version>1.1.0</version>
</dependency>
Cheers,
Dmytro

No comments:
Post a Comment