org.objectweb.jonathan.libs.kernel
Class TreeContextFactory.TreeContext
- TreeContextFactory
- Component, Context, Forkable
protected class TreeContextFactory.TreeContext
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 |
duplicate , fork , getComponent , getElement , getFactoryValue , getIntValue , getReference , getType , getValue , getValue , internalFork , reset , setReference , toString |
self_element
protected Element self_element
element representing the current context. Initialized by the constructors.
TreeContext
protected TreeContext()
Constructs a new TreeContext instance.
TreeContext
protected TreeContext(Context _context)
addLocalElement
protected Element addLocalElement(JContextFactory.ContextElement _element,
boolean _check_types)
throws JonathanException
Adds an Element to the Context if no other exists with the same name.
must be called in a synchronized context
- addLocalElement in interface JContextFactory.JContext
_check_types
- indicates whether types should be checked.
- the Element already present in the Context with the same name,
null if none existed.
JonathanException
- if something wrong occurs.
getAbsoluteName
public Name getAbsoluteName()
getElement
protected Element getElement(String _name,
boolean _local)
Returns the element identified by name, or null if none exists.
- getElement in interface JContextFactory.JContext
- the element identified by name, or null if none exists.