public class ImmutableFederatedContext.NestedImmutableFederatedContext extends AbstractFederatedContext
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.NestedImmutableFederatedContext(String path,
Map<String,Object> bindings) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addBinding(String name,
Object value,
boolean rebind) |
Context |
createNestedSubcontext(String path,
Map<String,Object> bindings)
Creates a nested subcontext instance.
|
protected Object |
getDeepBinding(String name)
Gets the object bound to the name.
|
protected Map<String,Object> |
getWrapperBindings() |
protected boolean |
removeBinding(String name,
boolean removeNotEmptyContext)
Removes the binding from the context.
|
addFederatedContext, faultLookup, getBinding, getBindings, getBindings, getMasterContext, isNestedSubcontext, 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 ImmutableFederatedContext.NestedImmutableFederatedContext(String path, Map<String,Object> bindings) throws NamingException
NamingExceptionpublic 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 errorprotected Object getDeepBinding(String name)
AbstractContextgetDeepBinding in class AbstractFederatedContextname - the nameprotected Map<String,Object> getWrapperBindings() throws NamingException
getWrapperBindings in class AbstractFederatedContextNamingExceptionprotected boolean addBinding(String name, Object value, boolean rebind) throws NamingException
addBinding in class AbstractFederatedContextNamingExceptionprotected boolean removeBinding(String name, boolean removeNotEmptyContext) throws NamingException
AbstractContextremoveBinding in class AbstractFederatedContextname - name under which the value should be boundremoveNotEmptyContext - ??? TODO figure this outNamingException - if a problem occurs during the bind such as a value already being boundCopyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.