Package org.apache.wicket.resource
Interface IPropertiesFactoryContext
-
- All Known Implementing Classes:
ResourceSettings
public interface IPropertiesFactoryContext
environment required for properties factory- Since:
- 1.5
- Author:
- Peter Ertl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Localizer
getLocalizer()
Get the application's localizer.IResourceStreamLocator
getResourceStreamLocator()
org.apache.wicket.util.watch.IModificationWatcher
getResourceWatcher(boolean start)
-
-
-
Method Detail
-
getLocalizer
Localizer getLocalizer()
Get the application's localizer. to modify the way Wicket resolves keys to localized messages you can add custom resource loaders to the list returned byResourceSettings.getStringResourceLoaders()
.- Returns:
- The application wide localizer instance
-
getResourceStreamLocator
IResourceStreamLocator getResourceStreamLocator()
- Returns:
- Resource locator for this application
-
getResourceWatcher
org.apache.wicket.util.watch.IModificationWatcher getResourceWatcher(boolean start)
- Parameters:
start
- boolean if the resource watcher should be started if not already started.- Returns:
- Resource watcher with polling frequency determined by setting, or null if no polling frequency has been set.
-
-