org.objectweb.jonathan.apis.kernel
Interface ContextFactory

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

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

public Context newContext()
Returns a new Context instance.

Returns:
a new Context instance.

newContext

public 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.