org.objectweb.jonathan.libs.kernel
Class JContextFactory.ContextElement

java.lang.Object
  extended by org.objectweb.jonathan.libs.kernel.JElement
      extended by org.objectweb.jonathan.libs.kernel.JContextFactory.ContextElement
All Implemented Interfaces:
Element
Enclosing class:
JContextFactory

public static class JContextFactory.ContextElement
extends JElement

Class of the context elements used by JContextFactory.


Constructor Summary
JContextFactory.ContextElement(Context container)
          Constructs a new context element.
 
Method Summary
protected  boolean checkType()
           
protected  void reset()
          Resets the element, setting all object reference members to null, and possibly recycling the element in a pool.
 java.lang.String toString()
          Contructs a new context element, using the provided component.
 
Methods inherited from class org.objectweb.jonathan.libs.kernel.JElement
getComponent, getContainer, getIntValue, getName, getType, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JContextFactory.ContextElement

public JContextFactory.ContextElement(Context container)
Constructs a new context element.

Method Detail

toString

public java.lang.String toString()
Contructs a new context element, using the provided component. After contruction, the containing element of the provided component is the newly created element.

Overrides:
toString in class JElement
Parameters:
_component - a component.

checkType

protected boolean checkType()

reset

protected void reset()
Resets the element, setting all object reference members to null, and possibly recycling the element in a pool.