org.objectweb.jonathan.libs.kernel

Class JConfigurationFactory.JConfiguration

Enclosing Class:
JConfigurationFactory
Implemented Interfaces:
Component, Context, Forkable

protected class JConfigurationFactory.JConfiguration
extends TreeContextFactory.TreeContext

Nested Class Summary

Nested classes/interfaces inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory.JContext

JContextFactory.JContext.InnerEnumeration

Field Summary

Fields inherited from class org.objectweb.jonathan.libs.kernel.TreeContextFactory.TreeContext

self_element

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

enclosing_context, id

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

int_value, reference, type, value

Fields inherited from interface org.objectweb.jonathan.apis.kernel.Context

NO_VALUE

Constructor Summary

JConfiguration()
Constructs a new TreeContext instance.
JConfiguration(ClassPathFinder _finder)
JConfiguration(Context _scope)
JConfiguration(Context _scope, ClassPathFinder _finder)

Method Summary

protected Element
getElement(String name, boolean local)
Returns the element identified by name, or null if none exists.
protected Element
handleScopeElement(Element element)
protected void
recycle()
void
reset()
String
toString()

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

addLocalElement, duplicate, getAbsoluteName, getElement, newContextElement, recycle, toString

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

acquire, addElement, addElement, addElement, addElement, addElement, addElement, addLocalElement, addOrGetContext, addOrGetContext, addOrGetLocalContext, duplicate, finalize, getComponent, getElement, getElement, getElement, getElements, getFactoryValue, getIntValue, getIntValue, getScope, getValue, handleScopeElement, internalFork, newComponent, newComponent, newContextElement, newContextElement, recycle, release, reset, setScope, toString

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

duplicate, fork, getComponent, getElement, getFactoryValue, getIntValue, getReference, getType, getValue, getValue, internalFork, reset, setReference, toString

Constructor Details

JConfiguration

protected JConfiguration()
Constructs a new TreeContext instance.


JConfiguration

protected JConfiguration(ClassPathFinder _finder)


JConfiguration

protected JConfiguration(Context _scope)


JConfiguration

protected JConfiguration(Context _scope,
                         ClassPathFinder _finder)

Method Details

getElement

protected Element getElement(String name,
                             boolean local)
Returns the element identified by name, or null if none exists.
Overrides:
getElement in interface TreeContextFactory.TreeContext

Parameters:
name -
local - if true, don't search the enclosing context.

Returns:
the element identified by name, or null if none exists.


handleScopeElement

protected Element handleScopeElement(Element element)
Overrides:
handleScopeElement in interface JContextFactory.JContext


recycle

protected void recycle()
Overrides:
recycle in interface TreeContextFactory.TreeContext


reset

public void reset()
Specified by:
reset in interface Context
Overrides:
reset in interface JContextFactory.JContext


toString

public String toString()
Overrides:
toString in interface TreeContextFactory.TreeContext