org.objectweb.jonathan.libs.kernel
Class JConfigurationFactory
java.lang.Object
org.objectweb.jonathan.libs.kernel.JContextFactory
org.objectweb.jonathan.libs.kernel.TreeContextFactory
org.objectweb.jonathan.libs.kernel.JConfigurationFactory
- All Implemented Interfaces:
- ConfigurationFactory, ContextFactory
public class JConfigurationFactory
- extends TreeContextFactory
- implements ConfigurationFactory
Configuration Factory used by KKernel
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final JConfigurationFactory instance
JConfigurationFactory
public JConfigurationFactory()
newContext
public Context newContext()
- Description copied from class:
TreeContextFactory
- Returns a new
TreeContext
instance.
- Specified by:
newContext
in interface ContextFactory
- Overrides:
newContext
in class TreeContextFactory
- Returns:
- a new
TreeContextFactory.TreeContext
instance.
newContext
public Context newContext(Context _scope)
- Description copied from class:
TreeContextFactory
- Returns a new
TreeContext
instance with scope
scope
.
_scope
must have been acquired by the caller first, if it is
to be shared.
- Specified by:
newContext
in interface ContextFactory
- Overrides:
newContext
in class TreeContextFactory
- Parameters:
_scope
- the scope of the returned context instance;
- Returns:
- a new
TreeContext
instance.
newContext
public Context newContext(ClassPathFinder class_finder)
- Specified by:
newContext
in interface ConfigurationFactory
newContext
public Context newContext(Context scope,
ClassPathFinder class_finder)
- Specified by:
newContext
in interface ConfigurationFactory