public class CommandRegistryImpl extends Object implements CommandRegistry
Constructor and Description |
---|
CommandRegistryImpl(org.osgi.framework.BundleContext ctx) |
Modifier and Type | Method and Description |
---|---|
Command |
getCommand(String name) |
Collection<Command> |
getRegisteredCommands() |
void |
registerCommand(Command cmd) |
void |
registerCommands(Iterable<? extends Command> cmds) |
void |
unregisterCommands() |
public CommandRegistryImpl(org.osgi.framework.BundleContext ctx)
public void registerCommand(Command cmd)
registerCommand
in interface CommandRegistry
public void registerCommands(Iterable<? extends Command> cmds)
registerCommands
in interface CommandRegistry
public void unregisterCommands()
unregisterCommands
in interface CommandRegistry
public Command getCommand(String name)
getCommand
in interface CommandRegistry
public Collection<Command> getRegisteredCommands()
getRegisteredCommands
in interface CommandRegistry
Copyright © 2012. All Rights Reserved.