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.


Inner Class Summary
protected  class JConfigurationFactory.JConfiguration
           
 
Inner classes inherited from class org.objectweb.jonathan.libs.kernel.TreeContextFactory
TreeContextFactory.TreeContext
 
Inner classes inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory
JContextFactory.ContextElement, JContextFactory.JContext
 
Field Summary
static boolean check_types
          Indicates whether type checking should be performed.
 
Fields inherited from class org.objectweb.jonathan.libs.kernel.TreeContextFactory
instance
 
Constructor Summary
JConfigurationFactory()
           
 
Method Summary
 Configuration newConfiguration()
          Returns a new Configuration instance.
 Configuration newConfiguration(Context _scope)
          Returns a new Configuration instance with scope scope.
 Configuration newConfiguration(Context scope, ClassLoader class_loader)
           
 Context newContext()
          Returns a new TreeContext instance.
 Context newContext(Context _scope)
          Returns a new TreeContext instance with scope scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

check_types

public static final boolean check_types
Indicates whether type checking should be performed.
Constructor Detail

JConfigurationFactory

public JConfigurationFactory()
Method Detail

newContext

public Context newContext()
Description copied from class: TreeContextFactory
Returns a new TreeContext instance.
Overrides:
newContext in class TreeContextFactory
Following copied from class: org.objectweb.jonathan.libs.kernel.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.

Overrides:
newContext in class TreeContextFactory
Following copied from class: org.objectweb.jonathan.libs.kernel.TreeContextFactory
Parameters:
scope - the scope of the returned context instance;
Returns:
a new TreeContext instance.

newConfiguration

public Configuration newConfiguration()
Description copied from interface: ConfigurationFactory
Returns a new Configuration instance.
Specified by:
newConfiguration in interface ConfigurationFactory
Following copied from interface: org.objectweb.jonathan.apis.kernel.ConfigurationFactory
Returns:
a new Configuration instance.

newConfiguration

public Configuration newConfiguration(Context _scope)
Description copied from interface: ConfigurationFactory
Returns a new Configuration instance with scope scope.
Specified by:
newConfiguration in interface ConfigurationFactory
Following copied from interface: org.objectweb.jonathan.apis.kernel.ConfigurationFactory
Parameters:
scope - the scope of the returned configuration instance;
Returns:
a new Configuration instance.

newConfiguration

public Configuration newConfiguration(Context scope,
                                      ClassLoader class_loader)