org.nuxeo.ecm.webapp.seam.messages
Class HotReloadResourceBundleControl
java.lang.Object
java.util.ResourceBundle.Control
org.nuxeo.ecm.webapp.seam.messages.HotReloadResourceBundleControl
@Name(value="nxHotReloadResourceBundleControl")
@BypassInterceptors
@Scope(value=SESSION)
@AutoCreate
public class HotReloadResourceBundleControl
- extends ResourceBundle.Control
Resource bundle controller for Seam.
Handles hot reload of resources when in dev mode, relying on the
ReloadService.flush()
method to be called when needing to flush
messages.
- Since:
- 5.6
HotReloadResourceBundleControl
public HotReloadResourceBundleControl()
instance
public static HotReloadResourceBundleControl instance()
newBundle
public ResourceBundle newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload)
throws IllegalAccessException,
InstantiationException,
IOException
- Overrides:
newBundle
in class ResourceBundle.Control
- Throws:
IllegalAccessException
InstantiationException
IOException
Copyright © 2012 Nuxeo SA. All Rights Reserved.