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
public class ImmutableFederatedContext
- extends AbstractFederatedContext
- Version:
- $Rev: 901481 $ $Date: 2010-01-21 02:14:08 +0100 (Thu, 21 Jan 2010) $
- See Also:
- Serialized Form
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 |
Methods inherited from class org.apache.xbean.naming.context.AbstractFederatedContext |
addBinding, addFederatedContext, faultLookup, getBinding, getBindings, getBindings, getDeepBinding, getMasterContext, isNestedSubcontext, removeBinding, 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, 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 |
ImmutableFederatedContext
public ImmutableFederatedContext(String nameInNamespace,
Set<Context> federatedContexts)
federateContext
public void federateContext(Context context)
throws NamingException
- Throws:
NamingException
unfederateContext
public void unfederateContext(Context context)
throws NamingException
- Throws:
NamingException
getWrapperBindings
protected Map<String,Object> getWrapperBindings()
throws NamingException
- Specified by:
getWrapperBindings
in class AbstractFederatedContext
- Throws:
NamingException
createNestedSubcontext
public Context createNestedSubcontext(String path,
Map<String,Object> bindings)
throws NamingException
- Description copied from interface:
NestedContextFactory
- Creates 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
Copyright © 2005-2011. All Rights Reserved.