org.objectweb.jonathan.libs.kernel
Class JConfigurationFactory

java.lang.Object
  extended byorg.objectweb.jonathan.libs.kernel.JContextFactory
      extended byorg.objectweb.jonathan.libs.kernel.TreeContextFactory
          extended byorg.objectweb.jonathan.libs.kernel.JConfigurationFactory
All Implemented Interfaces:
ConfigurationFactory, ContextFactory

public class JConfigurationFactory
extends TreeContextFactory
implements ConfigurationFactory

Configuration Factory used by KKernel.


Nested Class Summary
protected  class JConfigurationFactory.JConfiguration
           
 
Nested classes inherited from class org.objectweb.jonathan.libs.kernel.TreeContextFactory
TreeContextFactory.TreeContext
 
Nested classes inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory
JContextFactory.ContextElement, JContextFactory.JContext
 
Field Summary
static JConfigurationFactory instance
           
 
Fields inherited from class org.objectweb.jonathan.libs.kernel.TreeContextFactory
check_types
 
Constructor Summary
JConfigurationFactory()
           
 
Method Summary
 Context newContext()
          Returns a new Context instance.
 Context newContext(ClassPathFinder class_finder)
           
 Context newContext(Context _scope)
          Returns a new Context instance with scope scope.
 Context newContext(Context scope, ClassPathFinder class_finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final JConfigurationFactory instance
Constructor Detail

JConfigurationFactory

public JConfigurationFactory()
Method Detail

newContext

public Context newContext()
Description copied from interface: ContextFactory
Returns a new Context 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 interface: ContextFactory
Returns a new Context instance with scope scope.

Specified by:
newContext in interface ContextFactory
Overrides:
newContext in class TreeContextFactory
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