|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.bean.LightweightBeanInitializer
public class LightweightBeanInitializer
Performs "lightweight" initialization of a bean; this is based on a term (and code) from HiveMind, where the settings for a bean's properties are expressed as a single string.
Constructor Summary | |
---|---|
LightweightBeanInitializer(java.lang.String initializer)
|
Method Summary | |
---|---|
java.lang.String |
getPropertyName()
Returns the initializer itself, rather than any single property name. |
void |
setBeanProperty(IBeanProvider provider,
java.lang.Object bean)
Invoked by the IBeanProvider to initialize
a property of the bean. |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
---|
getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public LightweightBeanInitializer(java.lang.String initializer)
Method Detail |
---|
public void setBeanProperty(IBeanProvider provider, java.lang.Object bean)
IBeanInitializer
IBeanProvider
to initialize
a property of the bean.
setBeanProperty
in interface IBeanInitializer
public java.lang.String getPropertyName()
getPropertyName
in interface IBeanInitializer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |