Package org.apache.xbean.naming.context
Interface NestedContextFactory
-
- All Known Implementing Classes:
AbstractContext
,AbstractFederatedContext
,ImmutableContext
,ImmutableContext.NestedImmutableContext
,ImmutableFederatedContext
,ImmutableFederatedContext.NestedImmutableFederatedContext
,WritableContext
,WritableContext.NestedWritableContext
public interface NestedContextFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.naming.Context
createNestedSubcontext(java.lang.String path, java.util.Map<java.lang.String,java.lang.Object> bindings)
Creates a nested subcontext instance.boolean
isNestedSubcontext(java.lang.Object value)
Is the specified value an instance of a nested context
-
-
-
Method Detail
-
isNestedSubcontext
boolean isNestedSubcontext(java.lang.Object value)
Is the specified value an instance of a nested context- Parameters:
value
- the value to inspect- Returns:
- true if the specified value an instance of a nested context; false otherwise
-
createNestedSubcontext
javax.naming.Context createNestedSubcontext(java.lang.String path, java.util.Map<java.lang.String,java.lang.Object> bindings) throws javax.naming.NamingException
Creates a nested subcontext instance. This does not cause the nested context to be bound.- Parameters:
path
- the path to the new nested contextbindings
- the initial bindings for the context- Returns:
- the new nested context
- Throws:
javax.naming.NamingException
- on error
-
-