org.apache.tapestry.bean
Class LightweightBeanInitializer
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.bean.LightweightBeanInitializer
- All Implemented Interfaces:
- Locatable, LocationHolder, IBeanInitializer
public class LightweightBeanInitializer
- extends BaseLocatable
- implements IBeanInitializer
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.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LightweightBeanInitializer
public LightweightBeanInitializer(String initializer)
setBeanProperty
public void setBeanProperty(IBeanProvider provider,
Object bean)
- Description copied from interface:
IBeanInitializer
- Invoked by the
IBeanProvider to initialize
a property of the bean.
- Specified by:
setBeanProperty in interface IBeanInitializer
getPropertyName
public String getPropertyName()
- Returns the initializer itself, rather than any single property name.
- Specified by:
getPropertyName in interface IBeanInitializer
Copyright © 2006 Apache Software Foundation. All Rights Reserved.