org.objectweb.jonathan.apis.kernel
Interface ContextFactory

All Known Subinterfaces:
ConfigurationFactory
All Known Implementing Classes:
JConfigurationFactory, JContextFactory, TreeContextFactory

public interface ContextFactory

Interface for context factories.


Method Summary
 Context newContext()
          Returns a new Context instance.
 Context newContext(Context scope)
          Returns a new Context instance with scope scope.
 

Method Detail

newContext

Context newContext()
Returns a new Context instance.

Returns:
a new Context instance.

newContext

Context newContext(Context scope)
Returns a new Context instance with scope scope.

Parameters:
scope - the scope of the returned context instance;
Returns:
a new Context instance.