Package org.apache.xbean.naming.context
Class ImmutableFederatedContext
java.lang.Object
org.apache.xbean.naming.context.AbstractContext
org.apache.xbean.naming.context.AbstractFederatedContext
org.apache.xbean.naming.context.ImmutableFederatedContext
- All Implemented Interfaces:
Serializable,Context,NestedContextFactory
- Version:
- $Rev: 901481 $ $Date: 2010-01-21 02:14:08 +0100 (Thu, 21 Jan 2010) $
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassNested context which shares the absolute index map in MapContext. -
Field Summary
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
ConstructorsConstructorDescriptionImmutableFederatedContext(String nameInNamespace, Set<Context> federatedContexts) -
Method Summary
Modifier and TypeMethodDescriptioncreateNestedSubcontext(String path, Map<String, Object> bindings) Creates a nested subcontext instance.voidfederateContext(Context context) voidunfederateContext(Context context) Methods inherited from class org.apache.xbean.naming.context.AbstractFederatedContext
addBinding, addFederatedContext, faultLookup, getBinding, getBindings, getBindings, getDeepBinding, getMasterContext, isNestedSubcontext, removeBinding, removeFederatedContextMethods 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
-
Constructor Details
-
ImmutableFederatedContext
-
-
Method Details
-
federateContext
- Throws:
NamingException
-
unfederateContext
- Throws:
NamingException
-
getWrapperBindings
- Specified by:
getWrapperBindingsin classAbstractFederatedContext- Throws:
NamingException
-
createNestedSubcontext
public Context createNestedSubcontext(String path, Map<String, Object> bindings) throws NamingExceptionDescription copied from interface:NestedContextFactoryCreates a nested subcontext instance. This does not cause the nested context to be bound.- Parameters:
path- the path to the new nested contextbindings- the initial bindings for the context- Returns:
- the new nested context
- Throws:
NamingException- on error
-