org.apache.tapestry5.internal.services
Class ComponentMessagesSourceImpl
java.lang.Object
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl
- All Implemented Interfaces:
- ComponentMessagesSource, UpdateListener
public class ComponentMessagesSourceImpl
- extends Object
- implements ComponentMessagesSource, UpdateListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentMessagesSourceImpl
public ComponentMessagesSourceImpl(@Symbol(value="tapestry.app-catalog")
Resource appCatalogResource,
ClasspathURLConverter classpathURLConverter)
checkForUpdates
public void checkForUpdates()
- Description copied from interface:
UpdateListener
- Invoked to force the receiver to check for updates to whatever underlying resources it makes use of.
- Specified by:
checkForUpdates in interface UpdateListener
getMessages
public Messages getMessages(ComponentModel componentModel,
Locale locale)
- Description copied from interface:
ComponentMessagesSource
- Used to obtain a
Messages instance for a particular component, within a particular locale. If the
component extends from another component, then its localized properties will merge with its parent's properties
(with the subclass overriding the super class on any conflicts).
- Specified by:
getMessages in interface ComponentMessagesSource
- Returns:
- the message catalog for the component, in the indicated locale
getInvalidationEventHub
public InvalidationEventHub getInvalidationEventHub()
- Description copied from interface:
ComponentMessagesSource
- Returns the event hub that allows listeners to be notified when any underlying message catalog file is changed.
- Specified by:
getInvalidationEventHub in interface ComponentMessagesSource
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.