Package org.nuxeo.runtime.jtajca
Class NamingContextFacade
- java.lang.Object
-
- org.apache.xbean.naming.context.AbstractContext
-
- org.apache.xbean.naming.context.AbstractFederatedContext
-
- org.apache.xbean.naming.context.WritableContext
-
- org.nuxeo.runtime.jtajca.NamingContext
-
- org.nuxeo.runtime.jtajca.NamingContextFacade
-
- All Implemented Interfaces:
Serializable
,Context
,org.apache.xbean.naming.context.NestedContextFactory
public class NamingContextFacade extends NamingContext
Search main context if name not found in nuxeo's context.- Since:
- 5.6
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Context
delegate
-
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
Constructors Constructor Description NamingContextFacade(Context delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Hashtable
getEnvironment()
Object
lookup(Name name)
-
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, getBindings, getMasterContext, isNestedSubcontext, removeFederatedContext
-
Methods inherited from class org.apache.xbean.naming.context.AbstractContext
addBinding, addDeepBinding, addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, createSubcontextTree, destroySubcontext, destroySubcontext, getContextAccess, getNameInNamespace, getNameInNamespace, getNameInNamespace, getNameParser, getNameParser, getNameParser, getParsedNameInNamespace, getSize, isEmpty, list, list, list, listBindings, listBindings, listBindings, lookup, lookup, lookupFinalContext, lookupLink, lookupLink, rebind, rebind, removeDeepBinding, removeDeepBinding, removeFromEnvironment, rename, rename, unbind, unbind
-
-
-
-
Field Detail
-
delegate
protected final Context delegate
-
-
Constructor Detail
-
NamingContextFacade
public NamingContextFacade(Context delegate) throws NamingException
- Throws:
NamingException
-
-
Method Detail
-
lookup
public Object lookup(Name name) throws NamingException
- Specified by:
lookup
in interfaceContext
- Overrides:
lookup
in classorg.apache.xbean.naming.context.AbstractContext
- Throws:
NamingException
-
getEnvironment
public Hashtable getEnvironment()
- Specified by:
getEnvironment
in interfaceContext
- Overrides:
getEnvironment
in classorg.apache.xbean.naming.context.AbstractContext
-
-