Hi all,
I try to extend the karaf command, I not use the blueprint, but ipojo.
My bundle is works, it is active, but my new command is not available?
Here a part of my code:
@Component
@Command(name = "hello", scope = "test", description = "Sample.")
public class Sample extends AbstractAction {
@ServiceProperty(name = "osgi.command.scope", value = "test")
private String scope;
@ServiceProperty(name = "osgi.command.function", value = "{}")
private String[] _function = new String[]{
"help" };
@Descriptor("Help command.")
public void help(@Descriptor("Help command name") final String command) {
}
protected Object doExecute() throws Exception {
System.out.println("Executing help command");
return null;
}
}
Any suggestion??
Thanks
Xav
--
View this message in context:
http://karaf.922171.n3.nabble.com/Extending-karaf-command-tp4041458.html
Sent from the Karaf - User mailing list archive at Nabble.com.