jfun.yan.xml.nuts
Class ConstructorNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nut.ComponentNut
          extended by jfun.yan.xml.nuts.ArgumentsAndPropertiesNut
              extended by jfun.yan.xml.nuts.ConstructorNut
All Implemented Interfaces:
java.io.Serializable, LifecycleDeclaration
Direct Known Subclasses:
BeanNut, SpringCtorNut, WebCtorNut

public class ConstructorNut
extends ArgumentsAndPropertiesNut
implements LifecycleDeclaration

Nut class for <ctor> tag.

Author:
Ben Yu Nov 9, 2005 11:41:35 PM
See Also:
Serialized Form

Constructor Summary
ConstructorNut()
           
 
Method Summary
 Component eval()
           
protected  Component evaluateNoLifecycle()
          Evaluate the Component without applying life cycle.
 java.lang.Class getDeclaringClass()
          Get the class that declares the constructor.
 java.lang.String getDisposer()
           
 java.lang.String getInitializer()
           
 java.lang.String getStarter()
           
 java.lang.String getStopper()
           
 boolean isPrivate_access()
           
 void setClass(java.lang.Class type)
           
 void setDisposer(java.lang.String disposer)
           
 void setInitializer(java.lang.String initializer)
           
 void setPrivate_access(boolean private_access)
           
 void setStarter(java.lang.String starter)
           
 void setStopper(java.lang.String stopper)
           
 
Methods inherited from class jfun.yan.xml.nuts.ArgumentsAndPropertiesNut
addArg, addArgs, addProp, applyArguments, applyProperties, containsExplicitProperty, decorateComponent, defineBean, getArgList, getArgs, getAutoWire, getMaxArgsCount, getParameterAutowireMode, getParameterTypes, getPropertyAutowireMode, getPropertyNames, informAwares, isAllProperties, isBeanByDefault, isValidate_property_names, setArgs, setAutowire, setOptional_properties, setParams, setProperty_names, setProps, setValidate_property_names
 
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
 
Methods inherited from interface jfun.yan.xml.nuts.LifecycleDeclaration
getNutEnvironment, getTagLocation
 

Constructor Detail

ConstructorNut

public ConstructorNut()
Method Detail

setClass

public void setClass(java.lang.Class type)

getDeclaringClass

public java.lang.Class getDeclaringClass()
Get the class that declares the constructor.


isPrivate_access

public boolean isPrivate_access()

setPrivate_access

public void setPrivate_access(boolean private_access)

evaluateNoLifecycle

protected Component evaluateNoLifecycle()
Evaluate the Component without applying life cycle. Subclass can call this method and apply customized lifecycle.


eval

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

getInitializer

public java.lang.String getInitializer()
Specified by:
getInitializer in interface LifecycleDeclaration

setInitializer

public void setInitializer(java.lang.String initializer)

getStarter

public java.lang.String getStarter()
Specified by:
getStarter in interface LifecycleDeclaration

setStarter

public void setStarter(java.lang.String starter)

getStopper

public java.lang.String getStopper()
Specified by:
getStopper in interface LifecycleDeclaration

setStopper

public void setStopper(java.lang.String stopper)

getDisposer

public java.lang.String getDisposer()
Specified by:
getDisposer in interface LifecycleDeclaration

setDisposer

public void setDisposer(java.lang.String disposer)