Interface NestedContextFactory

All Known Implementing Classes:
AbstractContext, AbstractFederatedContext, ImmutableContext, ImmutableContext.NestedImmutableContext, ImmutableFederatedContext, ImmutableFederatedContext.NestedImmutableFederatedContext, WritableContext, WritableContext.NestedWritableContext

public interface NestedContextFactory
Version:
$Rev$ $Date$
  • Method Details

    • 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