org.objectweb.jonathan.libs.kernel

Class JConfigurationFactory

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/interfaces inherited from class org.objectweb.jonathan.libs.kernel.TreeContextFactory

TreeContextFactory.TreeContext

Nested classes/interfaces 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, instance

Fields inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory

check_types, instance

Method Summary

Context
newContext()
Returns a new TreeContext instance.
Context
newContext(ClassPathFinder class_finder)
Context
newContext(Context _scope)
Returns a new TreeContext instance with scope scope.
Context
newContext(Context scope, ClassPathFinder class_finder)

Methods inherited from class org.objectweb.jonathan.libs.kernel.TreeContextFactory

newContext, newContext

Methods inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory

newContext, newContext

Field Details

instance

public static final JConfigurationFactory instance

Method Details

newContext

public Context newContext()
Returns a new TreeContext instance.
Specified by:
newContext in interface ContextFactory
Overrides:
newContext in interface TreeContextFactory

Returns:
a new TreeContextFactory.TreeContext instance.


newContext

public Context newContext(ClassPathFinder class_finder)
Specified by:
newContext in interface ConfigurationFactory


newContext

public Context newContext(Context _scope)
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 interface TreeContextFactory

Parameters:

Returns:
a new TreeContext instance.


newContext

public Context newContext(Context scope,
                          ClassPathFinder class_finder)
Specified by:
newContext in interface ConfigurationFactory