org.apache.tapestry.services.impl
Class ComponentMessages

java.lang.Object
  extended by org.apache.hivemind.impl.AbstractMessages
      extended by org.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(Locale locale, Properties properties)
           
 
Method Summary
protected  String findMessage(String key)
           
protected  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(Locale locale,
                         Properties properties)
Method Detail

findMessage

protected String findMessage(String key)
Specified by:
findMessage in class org.apache.hivemind.impl.AbstractMessages

getLocale

protected Locale getLocale()
Specified by:
getLocale in class org.apache.hivemind.impl.AbstractMessages


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