org.objectweb.jonathan.libs.kernel
Class JConfigurationFactory.JConfiguration

java.lang.Object
  extended by org.objectweb.jonathan.libs.kernel.JComponent
      extended by org.objectweb.jonathan.libs.kernel.JContextFactory.JContext
          extended by org.objectweb.jonathan.libs.kernel.TreeContextFactory.TreeContext
              extended by org.objectweb.jonathan.libs.kernel.JConfigurationFactory.JConfiguration
All Implemented Interfaces:
Component, Context, Forkable
Enclosing class:
JConfigurationFactory

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
 
Nested classes/interfaces inherited from interface org.objectweb.jonathan.apis.kernel.Context
Context.NO_VALUE
 
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
protected JConfigurationFactory.JConfiguration()
           
protected JConfigurationFactory.JConfiguration(ClassPathFinder _finder)
           
protected JConfigurationFactory.JConfiguration(Context _scope)
           
protected JConfigurationFactory.JConfiguration(Context _scope, ClassPathFinder _finder)
           
 
Method Summary
protected  Element getElement(java.lang.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()
          needs to be synchronized.
 java.lang.String toString()
           
 
Methods inherited from class org.objectweb.jonathan.libs.kernel.TreeContextFactory.TreeContext
addLocalElement, duplicate, getAbsoluteName, newContextElement
 
Methods inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory.JContext
acquire, addElement, addElement, addElement, addElement, addElement, addElement, addOrGetContext, addOrGetContext, addOrGetLocalContext, finalize, getComponent, getElement, getElement, getElements, getFactoryValue, getIntValue, getIntValue, getScope, getValue, internalFork, newComponent, newComponent, newContextElement, release, setScope
 
Methods inherited from class org.objectweb.jonathan.libs.kernel.JComponent
fork, getComponent, getFactoryValue, getIntValue, getReference, getType, getValue, getValue, setReference
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonathan.apis.kernel.Component
fork, getComponent, getFactoryValue, getIntValue, getReference, getType, getValue, getValue, setReference
 

Constructor Detail

JConfigurationFactory.JConfiguration

protected JConfigurationFactory.JConfiguration()

JConfigurationFactory.JConfiguration

protected JConfigurationFactory.JConfiguration(Context _scope)

JConfigurationFactory.JConfiguration

protected JConfigurationFactory.JConfiguration(ClassPathFinder _finder)

JConfigurationFactory.JConfiguration

protected JConfigurationFactory.JConfiguration(Context _scope,
                                               ClassPathFinder _finder)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class TreeContextFactory.TreeContext

reset

public void reset()
Description copied from class: JContextFactory.JContext
needs to be synchronized.

Specified by:
reset in interface Context
Overrides:
reset in class JContextFactory.JContext

recycle

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

getElement

protected Element getElement(java.lang.String name,
                             boolean local)
Description copied from class: TreeContextFactory.TreeContext
Returns the element identified by name, or null if none exists.

Overrides:
getElement in class TreeContextFactory.TreeContext
Parameters:
name - a local 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 class JContextFactory.JContext