org.apache.tapestry.services.impl
Class ComponentMessages

java.lang.Object
  extended byorg.apache.hivemind.impl.AbstractMessages
      extended byorg.apache.tapestry.services.impl.ComponentMessages
All Implemented Interfaces:
org.apache.hivemind.Messages

public class ComponentMessages
extends org.apache.hivemind.impl.AbstractMessages

Implementation of Messages. This is basically a wrapper around an instance of Properties. This ensures that the properties are, in fact, read-only (which ensures that they don't have to be synchronized).

Since:
2.0.4
Author:
Howard Lewis Ship

Constructor Summary
ComponentMessages(java.util.Locale locale, java.util.Properties properties)
           
 
Method Summary
protected  java.lang.String findMessage(java.lang.String key)
           
protected  java.util.Locale getLocale()
           
 
Methods inherited from class org.apache.hivemind.impl.AbstractMessages
format, format, format, format, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentMessages

public ComponentMessages(java.util.Locale locale,
                         java.util.Properties properties)
Method Detail

findMessage

protected java.lang.String findMessage(java.lang.String key)

getLocale

protected java.util.Locale getLocale()