org.apache.tapestry.bean
Class MessageBeanInitializer

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

public class MessageBeanInitializer
extends AbstractBeanInitializer

A bean initializer that uses a localized string from the containing component.

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

Field Summary
protected  String _key
           
 
Fields inherited from class org.apache.tapestry.bean.AbstractBeanInitializer
_propertyName
 
Constructor Summary
MessageBeanInitializer()
           
 
Method Summary
 String getKey()
           
 void setBeanProperty(IBeanProvider provider, Object bean)
          Invoked by the IBeanProvider to initialize a property of the bean.
 void setKey(String key)
           
 
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

_key

protected String _key
Constructor Detail

MessageBeanInitializer

public MessageBeanInitializer()
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.


getKey

public String getKey()
Since:
3.0

setKey

public void setKey(String key)
Since:
3.0