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
 Context createNestedSubcontext(String path, Map<String,Object> bindings)
          Creates a nested subcontext instance.
 boolean isNestedSubcontext(Object value)
          Is the specified value an instance of a nested context
 

Method Detail

isNestedSubcontext

boolean isNestedSubcontext(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

Context createNestedSubcontext(String path,
                               Map<String,Object> bindings)
                               throws NamingException
Creates a nested subcontext instance. This does not cause the nested context to be bound.

Parameters:
path - the path to the new nested context
bindings - the initial bindings for the context
Returns:
the new nested context
Throws:
NamingException - on error


Copyright © 2005-2011. All Rights Reserved.