org.apache.tapestry.bean
Class MessageBeanInitializer

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

public class MessageBeanInitializer
extends AbstractBeanInitializer

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

Since:
2.2
Author:
Howard Lewis Ship

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

_key

protected java.lang.String _key
Constructor Detail

MessageBeanInitializer

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


getKey

public java.lang.String getKey()
Since:
3.0

setKey

public void setKey(java.lang.String key)
Since:
3.0