|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xbean.naming.context.AbstractContext org.apache.xbean.naming.context.AbstractFederatedContext org.apache.xbean.naming.context.WritableContext org.apache.geronimo.gjndi.KernelContextGBean org.apache.geronimo.gjndi.GlobalContextGBean
public class GlobalContextGBean
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.xbean.naming.context.WritableContext |
---|
org.apache.xbean.naming.context.WritableContext.NestedWritableContext |
Field Summary | |
---|---|
static GBeanInfo |
GBEAN_INFO
|
Fields inherited from interface javax.naming.Context |
---|
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
Constructor Summary | |
---|---|
GlobalContextGBean(Kernel kernel)
|
Method Summary | |
---|---|
protected Name |
createBindingName(AbstractName abstractName,
Object value)
Create a name under which we will bind the specified gbean with the specified value. |
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
static GBeanInfo |
getGBeanInfo()
|
Methods inherited from class org.apache.geronimo.gjndi.KernelContextGBean |
---|
addBinding, createBindings, preprocessVaue, removeBinding |
Methods inherited from class org.apache.xbean.naming.context.WritableContext |
---|
addBinding, addBinding, createNestedSubcontext, getDeepBinding, getWrapperBindings, removeBinding |
Methods inherited from class org.apache.xbean.naming.context.AbstractFederatedContext |
---|
addFederatedContext, faultLookup, getBinding, getBindings, getMasterContext, isNestedSubcontext |
Methods inherited from class org.apache.xbean.naming.context.AbstractContext |
---|
addBinding, addDeepBinding, addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, createSubcontextTree, destroySubcontext, destroySubcontext, getContextAccess, getEnvironment, getNameInNamespace, getNameInNamespace, getNameInNamespace, getNameParser, getNameParser, getNameParser, getParsedNameInNamespace, getSize, isEmpty, list, list, list, listBindings, listBindings, listBindings, lookup, lookup, lookup, lookupFinalContext, lookupLink, lookupLink, rebind, rebind, removeDeepBinding, removeDeepBinding, removeFromEnvironment, rename, rename, unbind, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public GlobalContextGBean(Kernel kernel) throws NamingException
NamingException
Method Detail |
---|
public void doStart()
GBeanLifecycle
doStart
in interface GBeanLifecycle
doStart
in class KernelContextGBean
public void doStop()
GBeanLifecycle
doStop
in interface GBeanLifecycle
doStop
in class KernelContextGBean
public void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
doFail
in class KernelContextGBean
protected Name createBindingName(AbstractName abstractName, Object value) throws NamingException
KernelContextGBean
createBindingName
in class KernelContextGBean
abstractName
- the abstract name of the gbean to bindvalue
- the gbean instance
NamingException
- should something go wrongpublic static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |