org.apache.tapestry.services.impl
Class ComponentMessages
java.lang.Object
org.apache.hivemind.impl.AbstractMessages
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
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 |
ComponentMessages
public ComponentMessages(Locale locale,
Properties properties)
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.