org.apache.tapestry.bean
Class AbstractBeanInitializer

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.bean.AbstractBeanInitializer
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IBeanInitializer
Direct Known Subclasses:
BindingBeanInitializer

public abstract class AbstractBeanInitializer
extends org.apache.hivemind.impl.BaseLocatable
implements IBeanInitializer

Base class for initializing a property of a JavaBean.

Since:
1.0.5
Author:
Howard Lewis Ship

Field Summary
protected  String _propertyName
           
 
Constructor Summary
AbstractBeanInitializer()
           
 
Method Summary
 String getPropertyName()
          Returns the name of the property this initializer will set.
protected  void setBeanProperty(Object bean, Object value)
           
 void setPropertyName(String propertyName)
           
 
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.tapestry.bean.IBeanInitializer
setBeanProperty
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Field Detail

_propertyName

protected String _propertyName
Constructor Detail

AbstractBeanInitializer

public AbstractBeanInitializer()
Method Detail

getPropertyName

public String getPropertyName()
Description copied from interface: IBeanInitializer
Returns the name of the property this initializer will set.

Specified by:
getPropertyName in interface IBeanInitializer

setPropertyName

public void setPropertyName(String propertyName)
Since:
3.0 *

setBeanProperty

protected void setBeanProperty(Object bean,
                               Object value)


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.