jfun.yan.xml.nuts
Class LifecycleNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nut.ComponentNut
          extended by jfun.yan.xml.nuts.DelegatingNut
              extended by jfun.yan.xml.nuts.LifecycleNut
All Implemented Interfaces:
java.io.Serializable

public class LifecycleNut
extends DelegatingNut

The <lifecycle> tag. For example:

 <lifecycle name="disposer" reentrant="true">
   <method class="..." name="..." args="..."/>
 <lifecycle>
 

Author:
Ben Yu Nov 28, 2005 10:27:58 AM
See Also:
Serialized Form

Constructor Summary
LifecycleNut()
           
 
Method Summary
 Component eval()
           
 java.lang.String getName()
           
 boolean isReentrant()
           
 void setName(java.lang.String name)
           
 void setReentrant(boolean reentrant)
           
 
Methods inherited from class jfun.yan.xml.nuts.DelegatingNut
add, delegateTo, getComponent, getMandatory, setComponent
 
Methods inherited from class jfun.yan.xml.nut.Nut
cast, checkDuplicate, checkMandatory, checkMandatory, convert, getComponentClassLoader, getId, getNutClassLoader, getNutEnvironment, getParameterWiring, getPropertyWiring, getSequenceNumber, getTagLocation, getTagName, initGloballyDefined, initNutEnvironment, initSequenceNumber, initTagLocation, initTagName, isGloballyDefined, raise, raise, register, registerEagerInstantiation, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LifecycleNut

public LifecycleNut()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

isReentrant

public boolean isReentrant()

setReentrant

public void setReentrant(boolean reentrant)

eval

public Component eval()
Specified by:
eval in class ComponentNut