org.apache.tapestry.bean
Class BindingBeanInitializer

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

public class BindingBeanInitializer
extends AbstractBeanInitializer

An IBeanInitializer implementation that uses an IBinding to obtain the value which will be assigned to the bean property.

Since:
4.0
Author:
Howard M. Lewis Ship

Field Summary
 
Fields inherited from class org.apache.tapestry.bean.AbstractBeanInitializer
_propertyName
 
Constructor Summary
BindingBeanInitializer(BindingSource source)
           
 
Method Summary
 String getBindingReference()
           
 void setBeanProperty(IBeanProvider provider, Object bean)
          Invoked by the IBeanProvider to initialize a property of the bean.
 void setBindingReference(String bindingReference)
           
 
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
 

Constructor Detail

BindingBeanInitializer

public BindingBeanInitializer(BindingSource source)
Since:
4.0
Method Detail

setBindingReference

public void setBindingReference(String bindingReference)
Since:
4.0

getBindingReference

public String getBindingReference()
Since:
4.0

setBeanProperty

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



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