public class ImmutableFederatedContext extends AbstractFederatedContext
Modifier and Type | Class and Description |
---|---|
class |
ImmutableFederatedContext.NestedImmutableFederatedContext
Nested context which shares the absolute index map in MapContext.
|
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 and Description |
---|
ImmutableFederatedContext(String nameInNamespace,
Set<Context> federatedContexts) |
Modifier and Type | Method and Description |
---|---|
Context |
createNestedSubcontext(String path,
Map<String,Object> bindings)
Creates a nested subcontext instance.
|
void |
federateContext(Context context) |
protected Map<String,Object> |
getWrapperBindings() |
void |
unfederateContext(Context context) |
addBinding, addFederatedContext, faultLookup, getBinding, getBindings, getBindings, getDeepBinding, getMasterContext, isNestedSubcontext, removeBinding, removeFederatedContext
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
public void federateContext(Context context) throws NamingException
NamingException
public void unfederateContext(Context context) throws NamingException
NamingException
protected Map<String,Object> getWrapperBindings() throws NamingException
getWrapperBindings
in class AbstractFederatedContext
NamingException
public Context createNestedSubcontext(String path, Map<String,Object> bindings) throws NamingException
NestedContextFactory
path
- the path to the new nested contextbindings
- the initial bindings for the contextNamingException
- on errorCopyright © 2005–2020. All rights reserved.