org.apache.tapestry.spec
Class BeanSpecification
java.lang.Object
org.apache.tapestry.util.BasePropertyHolder
org.apache.tapestry.spec.LocatablePropertyHolder
org.apache.tapestry.spec.BeanSpecification
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IBeanSpecification, PropertyInjectable, IPropertyHolder
public class BeanSpecification
- extends LocatablePropertyHolder
- implements IBeanSpecification
A specification of a helper bean for a component.
- Since:
- 1.0.4
- Author:
- Howard Lewis Ship
Methods inherited from interface org.apache.hivemind.LocationHolder |
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
_className
protected String _className
_lifecycle
protected BeanLifecycle _lifecycle
_initializers
protected List _initializers
- A List of
IBeanInitializer
.
BeanSpecification
public BeanSpecification()
getClassName
public String getClassName()
- Specified by:
getClassName
in interface IBeanSpecification
getLifecycle
public BeanLifecycle getLifecycle()
- Specified by:
getLifecycle
in interface IBeanSpecification
addInitializer
public void addInitializer(IBeanInitializer initializer)
- Specified by:
addInitializer
in interface IBeanSpecification
- Since:
- 1.0.5
getInitializers
public List getInitializers()
- Returns the
List
of IBeanInitializer
s. The caller should not modify this
value!. May return null if there are no initializers.
- Specified by:
getInitializers
in interface IBeanSpecification
- Since:
- 1.0.5
toString
public String toString()
- Specified by:
toString
in interface IBeanSpecification
- Overrides:
toString
in class Object
getDescription
public String getDescription()
- Specified by:
getDescription
in interface IBeanSpecification
setDescription
public void setDescription(String desc)
- Specified by:
setDescription
in interface IBeanSpecification
setClassName
public void setClassName(String className)
- Specified by:
setClassName
in interface IBeanSpecification
- Since:
- 3.0 *
setLifecycle
public void setLifecycle(BeanLifecycle lifecycle)
- Specified by:
setLifecycle
in interface IBeanSpecification
- Since:
- 3.0 *
getPropertyName
public String getPropertyName()
- Description copied from interface:
PropertyInjectable
- Returns the name of the property to be created for this component, or
null if no property should be created.
- Specified by:
getPropertyName
in interface PropertyInjectable
- Since:
- 4.0
setPropertyName
public void setPropertyName(String propertyName)
- Specified by:
setPropertyName
in interface PropertyInjectable
- Since:
- 4.0
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.