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
- Version:
- $Rev$ $Date$
-
Method Summary
Modifier and TypeMethodDescriptioncreateNestedSubcontext(String path, Map<String, Object> bindings) Creates a nested subcontext instance.booleanisNestedSubcontext(Object value) Is the specified value an instance of a nested context
-
Method Details
-
isNestedSubcontext
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
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:
NamingException- on error
-