org.apache.tapestry.bean
Class LightweightBeanInitializer
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.bean.LightweightBeanInitializer
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IBeanInitializer
public class LightweightBeanInitializer
- extends org.apache.hivemind.impl.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 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 |
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-2008 Apache Software Foundation. All Rights Reserved.