Home » geronimo-2.2-source-release » org.apache.geronimo.kernel.basic » [javadoc | source]
org.apache.geronimo.kernel.basic
public class: BasicRegistry [javadoc | source]
java.lang.Object
   org.apache.geronimo.kernel.basic.BasicRegistry

All Implemented Interfaces:
    InstanceRegistry

Method from org.apache.geronimo.kernel.basic.BasicRegistry Summary:
getGBeanInstance,   getGBeanInstance,   getGBeanInstance,   getGBeanInstanceByInstance,   instanceCreated,   instanceDestroyed,   isRegistered,   isRegistered,   listGBeans,   listGBeans,   register,   start,   stop,   unregister
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.kernel.basic.BasicRegistry Detail:
 public synchronized GBeanInstance getGBeanInstance(ObjectName name) throws GBeanNotFoundException 
    Return the GBeanInstance registered with the supplied name.
 public synchronized GBeanInstance getGBeanInstance(AbstractName abstractName) throws GBeanNotFoundException 
 public synchronized GBeanInstance getGBeanInstance(String shortName,
    Class type) throws GBeanNotFoundException 
 public synchronized GBeanInstance getGBeanInstanceByInstance(Object instance) 
 public synchronized  void instanceCreated(Object instance,
    GBeanInstance gbeanInstance) 
 public synchronized  void instanceDestroyed(Object instance) 
 public synchronized boolean isRegistered(ObjectName name) 
    See if there is a GBean registered with a specific name.
 public synchronized boolean isRegistered(AbstractName refInfo) 
 public Set listGBeans(ObjectName pattern) 
    Search the objectNameRegistry for GBeans matching a name pattern.
 public Set listGBeans(AbstractNameQuery query) 
 public synchronized  void register(GBeanInstance gbeanInstance) throws GBeanAlreadyExistsException 
    Register a GBean instance.
 public  void start(Kernel kernel) 
    Start the objectNameRegistry and associate it with a kernel.
 public  void stop() 
    Shut down the objectNameRegistry and unregister any GBeans
 public synchronized  void unregister(AbstractName abstractName) throws GBeanNotFoundException