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, removeFederatedContextaddBinding, 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, unbindpublic void federateContext(Context context) throws NamingException
NamingExceptionpublic void unfederateContext(Context context) throws NamingException
NamingExceptionprotected Map<String,Object> getWrapperBindings() throws NamingException
getWrapperBindings in class AbstractFederatedContextNamingExceptionpublic Context createNestedSubcontext(String path, Map<String,Object> bindings) throws NamingException
NestedContextFactorypath - the path to the new nested contextbindings - the initial bindings for the contextNamingException - on errorCopyright © 2005-2018 The Apache Software Foundation. All Rights Reserved.