jfun.yan.xml.nuts
Class MethodNut
java.lang.Object
jfun.yan.xml.nut.Nut
jfun.yan.xml.nut.ComponentNut
jfun.yan.xml.nuts.ArgumentsAndPropertiesNut
jfun.yan.xml.nuts.MethodNut
- All Implemented Interfaces:
- java.io.Serializable, LifecycleDeclaration
- Direct Known Subclasses:
- AspectjNut, SpringMethodNut, WebMethodNut
public class MethodNut
- extends ArgumentsAndPropertiesNut
- implements LifecycleDeclaration
Nut class for <method> tag.
- Author:
- Ben Yu
Nov 9, 2005 11:42:15 PM
- See Also:
- Serialized Form
| 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 |
MethodNut
public MethodNut()
add
public void add(Component cn)
isPrivate_access
public boolean isPrivate_access()
setPrivate_access
public void setPrivate_access(boolean private_access)
setClass
public void setClass(java.lang.Class type)
setComponent
public void setComponent(Component c)
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
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)
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