Serializable
, Context
, NestedContextFactory
public class ImmutableFederatedContext extends AbstractFederatedContext
Modifier and Type | Class | 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 | Description |
---|---|
ImmutableFederatedContext(String nameInNamespace,
Set<Context> federatedContexts) |
Modifier and Type | Method | 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, 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
addBinding, addFederatedContext, faultLookup, getBinding, getBindings, getBindings, getDeepBinding, getMasterContext, isNestedSubcontext, removeBinding, removeFederatedContext
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–2018. All rights reserved.