org.apache.geronimo.gjndi
Class GlobalContextGBean

java.lang.Object
  extended by org.apache.xbean.naming.context.AbstractContext
      extended by org.apache.xbean.naming.context.AbstractFederatedContext
          extended by org.apache.xbean.naming.context.WritableContext
              extended by org.apache.geronimo.gjndi.KernelContextGBean
                  extended by org.apache.geronimo.gjndi.GlobalContextGBean
All Implemented Interfaces:
Serializable, Context, org.apache.geronimo.gbean.GBeanLifecycle, org.apache.xbean.naming.context.NestedContextFactory

public class GlobalContextGBean
extends KernelContextGBean
implements org.apache.geronimo.gbean.GBeanLifecycle

See Also:
Serialized Form

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
GlobalContextGBean(org.apache.geronimo.kernel.Kernel kernel)
           
 
Method Summary
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.
 void doFail()
           
 void doStart()
           
 void doStop()
           
static org.apache.geronimo.gbean.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, 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

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

GlobalContextGBean

public GlobalContextGBean(org.apache.geronimo.kernel.Kernel kernel)
                   throws NamingException
Throws:
NamingException
Method Detail

doStart

public void doStart()
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Overrides:
doStart in class KernelContextGBean

doStop

public void doStop()
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Overrides:
doStop in class KernelContextGBean

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle
Overrides:
doFail in class KernelContextGBean

createBindingName

protected Name createBindingName(org.apache.geronimo.gbean.AbstractName abstractName,
                                 Object value)
                          throws NamingException
Description copied from class: KernelContextGBean
Create a name under which we will bind the specified gbean with the specified value. By default, this method simply returns the "name" element of the abstract name

Overrides:
createBindingName in class KernelContextGBean
Parameters:
abstractName - the abstract name of the gbean to bind
value - the gbean instance
Returns:
the name under which the gbean should be bound
Throws:
NamingException

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.