org.apache.geronimo.gshell.plugin
Class CommandRegistry
java.lang.Object
org.apache.geronimo.gshell.plugin.CommandRegistry
- All Implemented Interfaces:
- org.codehaus.plexus.component.discovery.ComponentDiscoveryListener
@Component(role=CommandRegistry.class)
public class CommandRegistry
- extends Object
- implements org.codehaus.plexus.component.discovery.ComponentDiscoveryListener
Registers command components as they are discovered by the container.
- Version:
- $Rev: 574515 $ $Date: 2007-09-11 02:03:04 -0700 (Tue, 11 Sep 2007) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- See Also:
- Constant Field Values
CommandRegistry
public CommandRegistry()
getId
public String getId()
- Specified by:
getId in interface org.codehaus.plexus.component.discovery.ComponentDiscoveryListener
componentDiscovered
public void componentDiscovered(org.codehaus.plexus.component.discovery.ComponentDiscoveryEvent event)
- Specified by:
componentDiscovered in interface org.codehaus.plexus.component.discovery.ComponentDiscoveryListener
getCommandDescriptors
public Collection<CommandDescriptor> getCommandDescriptors()
getCommandDescriptor
public CommandDescriptor getCommandDescriptor(String id)
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.