org.apache.tapestry.bean
Class FieldBeanInitializer

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

public class FieldBeanInitializer
extends AbstractBeanInitializer

Initializes a bean with the value of a public static field.

Since:
1.0.8
Author:
Howard Lewis Ship

Field Summary
protected  java.lang.String _fieldName
           
protected  java.lang.Object _fieldValue
           
 
Fields inherited from class org.apache.tapestry.bean.AbstractBeanInitializer
_propertyName
 
Constructor Summary
FieldBeanInitializer()
           
 
Method Summary
 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.tapestry.bean.AbstractBeanInitializer
getPropertyName, setBeanProperty, setPropertyName
 
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
 

Field Detail

_fieldName

protected java.lang.String _fieldName

_fieldValue

protected java.lang.Object _fieldValue
Constructor Detail

FieldBeanInitializer

public FieldBeanInitializer()
Method Detail

setBeanProperty

public void setBeanProperty(IBeanProvider provider,
                            java.lang.Object bean)
Description copied from interface: IBeanInitializer
Invoked by the IBeanProvider to initialize a property of the bean.