|
||||||||||
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
public class KernelContextGBean
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 org.apache.geronimo.gbean.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 | |
---|---|
KernelContextGBean(String nameInNamespace,
org.apache.geronimo.gbean.AbstractNameQuery abstractNameQuery,
org.apache.geronimo.kernel.Kernel kernel)
|
Method Summary | |
---|---|
protected void |
addBinding(org.apache.geronimo.gbean.AbstractName abstractName)
Binds the specified gbean. |
protected Name |
createBindingName(org.apache.geronimo.gbean.AbstractName abstractName,
Object value)
Create a name under which we will bind the specified gbean with the specified value. |
protected Map |
createBindings(org.apache.geronimo.gbean.AbstractName abstractName,
Object value)
|
void |
doFail()
|
void |
doStart()
|
void |
doStop()
|
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
protected Object |
preprocessVaue(org.apache.geronimo.gbean.AbstractName abstractName,
Name name,
Object value)
Preprocess the value before it is bound. |
protected void |
removeBinding(org.apache.geronimo.gbean.AbstractName abstractName)
Unbinds the specified gbean. |
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, 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, getBinding, 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 org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public KernelContextGBean(String nameInNamespace, org.apache.geronimo.gbean.AbstractNameQuery abstractNameQuery, org.apache.geronimo.kernel.Kernel kernel) throws NamingException
NamingException
Method Detail |
---|
public void doStart()
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
public void doStop()
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
public void doFail()
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
protected void addBinding(org.apache.geronimo.gbean.AbstractName abstractName) throws NamingException
abstractName
- the abstract name of the gbean to bind
NamingException
- if an error occurs during bindingprotected void removeBinding(org.apache.geronimo.gbean.AbstractName abstractName)
abstractName
- the abstract name of the gbean to unbindprotected Map createBindings(org.apache.geronimo.gbean.AbstractName abstractName, Object value) throws NamingException
NamingException
protected Name createBindingName(org.apache.geronimo.gbean.AbstractName abstractName, Object value) throws NamingException
abstractName
- the abstract name of the gbean to bindvalue
- the gbean instance
NamingException
protected Object preprocessVaue(org.apache.geronimo.gbean.AbstractName abstractName, Name name, Object value) throws NamingException
abstractName
- the abstract name of the gbean to bindname
- the name under which the gbean will be boundvalue
- the gbean instance
NamingException
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |