public class BeanSpecification extends LocatablePropertyHolder implements IBeanSpecification
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
className |
protected java.util.List |
initializers
A List of
IBeanInitializer . |
protected BeanLifecycle |
lifecycle |
Constructor and Description |
---|
BeanSpecification() |
Modifier and Type | Method and Description |
---|---|
void |
addInitializer(IBeanInitializer initializer) |
java.lang.String |
getClassName() |
java.lang.String |
getDescription() |
java.util.List |
getInitializers()
Returns the
List of IBeanInitializer s. |
BeanLifecycle |
getLifecycle() |
java.lang.String |
getPropertyName()
Returns the name of the property to be created for this component, or null if no property
should be created.
|
void |
setClassName(java.lang.String className) |
void |
setDescription(java.lang.String desc) |
void |
setLifecycle(BeanLifecycle lifecycle) |
void |
setPropertyName(java.lang.String propertyName) |
java.lang.String |
toString() |
getLocation, setLocation
getProperty, getPropertyNames, removeProperty, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames, removeProperty, setProperty
protected java.lang.String className
protected BeanLifecycle lifecycle
protected java.util.List initializers
IBeanInitializer
.public BeanSpecification()
public java.lang.String getClassName()
getClassName
in interface IBeanSpecification
public BeanLifecycle getLifecycle()
getLifecycle
in interface IBeanSpecification
public void addInitializer(IBeanInitializer initializer)
addInitializer
in interface IBeanSpecification
public java.util.List getInitializers()
List
of IBeanInitializer
s. The caller should not modify this
value!. May return null if there are no initializers.getInitializers
in interface IBeanSpecification
public java.lang.String toString()
toString
in interface IBeanSpecification
toString
in class java.lang.Object
public java.lang.String getDescription()
getDescription
in interface IBeanSpecification
public void setDescription(java.lang.String desc)
setDescription
in interface IBeanSpecification
public void setClassName(java.lang.String className)
setClassName
in interface IBeanSpecification
public void setLifecycle(BeanLifecycle lifecycle)
setLifecycle
in interface IBeanSpecification
public java.lang.String getPropertyName()
PropertyInjectable
getPropertyName
in interface PropertyInjectable
public void setPropertyName(java.lang.String propertyName)
setPropertyName
in interface PropertyInjectable