|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.kernel.basic.BasicRegistry
| Constructor Summary | |
BasicRegistry()
|
|
| Method Summary | |
org.apache.geronimo.gbean.runtime.GBeanInstance |
getGBeanInstance(org.apache.geronimo.gbean.AbstractName abstractName)
|
org.apache.geronimo.gbean.runtime.GBeanInstance |
getGBeanInstance(javax.management.ObjectName name)
Return the GBeanInstance registered with the supplied name. |
org.apache.geronimo.gbean.runtime.GBeanInstance |
getGBeanInstance(String shortName,
Class type)
|
org.apache.geronimo.gbean.runtime.GBeanInstance |
getGBeanInstanceByInstance(Object instance)
|
void |
instanceCreated(Object instance,
org.apache.geronimo.gbean.runtime.GBeanInstance gbeanInstance)
|
void |
instanceDestroyed(Object instance)
|
boolean |
isRegistered(org.apache.geronimo.gbean.AbstractName refInfo)
|
boolean |
isRegistered(javax.management.ObjectName name)
See if there is a GBean registered with a specific name. |
Set |
listGBeans(org.apache.geronimo.gbean.AbstractNameQuery query)
|
Set |
listGBeans(javax.management.ObjectName pattern)
Search the objectNameRegistry for GBeans matching a name pattern. |
void |
register(org.apache.geronimo.gbean.runtime.GBeanInstance gbeanInstance)
Register a GBean instance. |
void |
start(Kernel kernel)
Start the objectNameRegistry and associate it with a kernel. |
void |
stop()
Shut down the objectNameRegistry and unregister any GBeans |
void |
unregister(org.apache.geronimo.gbean.AbstractName abstractName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicRegistry()
| Method Detail |
public void start(Kernel kernel)
kernel - the kernel to associate withpublic void stop()
public boolean isRegistered(javax.management.ObjectName name)
name - the name of the GBean to check for
public boolean isRegistered(org.apache.geronimo.gbean.AbstractName refInfo)
public void register(org.apache.geronimo.gbean.runtime.GBeanInstance gbeanInstance)
throws GBeanAlreadyExistsException
gbeanInstance - the GBean to register
GBeanAlreadyExistsException - if there is already a GBean registered with the instance's name
public void unregister(org.apache.geronimo.gbean.AbstractName abstractName)
throws GBeanNotFoundException
GBeanNotFoundException
public void instanceCreated(Object instance,
org.apache.geronimo.gbean.runtime.GBeanInstance gbeanInstance)
instanceCreated in interface org.apache.geronimo.gbean.runtime.InstanceRegistrypublic void instanceDestroyed(Object instance)
instanceDestroyed in interface org.apache.geronimo.gbean.runtime.InstanceRegistrypublic org.apache.geronimo.gbean.runtime.GBeanInstance getGBeanInstanceByInstance(Object instance)
public org.apache.geronimo.gbean.runtime.GBeanInstance getGBeanInstance(javax.management.ObjectName name)
throws GBeanNotFoundException
name - the name of the instance to return
GBeanNotFoundException - if there is no GBean registered with the supplied name
public org.apache.geronimo.gbean.runtime.GBeanInstance getGBeanInstance(org.apache.geronimo.gbean.AbstractName abstractName)
throws GBeanNotFoundException
GBeanNotFoundException
public org.apache.geronimo.gbean.runtime.GBeanInstance getGBeanInstance(String shortName,
Class type)
throws GBeanNotFoundException
GBeanNotFoundExceptionpublic Set listGBeans(javax.management.ObjectName pattern)
pattern - the object name pattern to search for
public Set listGBeans(org.apache.geronimo.gbean.AbstractNameQuery query)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||