public class ImmutableFederatedContext.NestedImmutableFederatedContext extends AbstractFederatedContext
| Constructor and Description |
|---|
NestedImmutableFederatedContext(java.lang.String path,
java.util.Map<java.lang.String,java.lang.Object> bindings) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addBinding(java.lang.String name,
java.lang.Object value,
boolean rebind) |
javax.naming.Context |
createNestedSubcontext(java.lang.String path,
java.util.Map<java.lang.String,java.lang.Object> bindings)
Creates a nested subcontext instance.
|
protected java.lang.Object |
getDeepBinding(java.lang.String name)
Gets the object bound to the name.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getWrapperBindings() |
protected boolean |
removeBinding(java.lang.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 NestedImmutableFederatedContext(java.lang.String path,
java.util.Map<java.lang.String,java.lang.Object> bindings)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic javax.naming.Context createNestedSubcontext(java.lang.String path,
java.util.Map<java.lang.String,java.lang.Object> bindings)
throws javax.naming.NamingException
NestedContextFactorypath - the path to the new nested contextbindings - the initial bindings for the contextjavax.naming.NamingException - on errorprotected java.lang.Object getDeepBinding(java.lang.String name)
AbstractContextgetDeepBinding in class AbstractFederatedContextname - the nameprotected java.util.Map<java.lang.String,java.lang.Object> getWrapperBindings()
throws javax.naming.NamingException
getWrapperBindings in class AbstractFederatedContextjavax.naming.NamingExceptionprotected boolean addBinding(java.lang.String name,
java.lang.Object value,
boolean rebind)
throws javax.naming.NamingException
addBinding in class AbstractFederatedContextjavax.naming.NamingExceptionprotected boolean removeBinding(java.lang.String name,
boolean removeNotEmptyContext)
throws javax.naming.NamingException
AbstractContextremoveBinding in class AbstractFederatedContextname - name under which the value should be boundremoveNotEmptyContext - ??? TODO figure this outjavax.naming.NamingException - if a problem occurs during the bind such as a value already being bound