org.apache.geronimo.gshell.plugin
Class CommandRegistry

java.lang.Object
  extended by 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) $

Field Summary
static String ID
           
 
Constructor Summary
CommandRegistry()
           
 
Method Summary
 void componentDiscovered(org.codehaus.plexus.component.discovery.ComponentDiscoveryEvent event)
           
 CommandDescriptor getCommandDescriptor(String id)
           
 Collection<CommandDescriptor> getCommandDescriptors()
           
 String getId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

CommandRegistry

public CommandRegistry()
Method Detail

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.