org.apache.tapestry.bean
Class FieldBeanInitializer

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.bean.AbstractBeanInitializer
          extended by org.apache.tapestry.bean.FieldBeanInitializer
All Implemented Interfaces:
IBeanInitializer, ILocatable, ILocationHolder

public class FieldBeanInitializer
extends AbstractBeanInitializer

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

Since:
1.0.8
Version:
$Id: FieldBeanInitializer.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Field Summary
protected  String _fieldName
           
protected  Object _fieldValue
           
 
Fields inherited from class org.apache.tapestry.bean.AbstractBeanInitializer
_propertyName
 
Constructor Summary
FieldBeanInitializer()
           
 
Method Summary
 void setBeanProperty(IBeanProvider provider, 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.tapestry.spec.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.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Field Detail

_fieldName

protected String _fieldName

_fieldValue

protected Object _fieldValue
Constructor Detail

FieldBeanInitializer

public FieldBeanInitializer()
Method Detail

setBeanProperty

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