public class NuxeoJSFReloadHandler extends Object implements EventListener
Hot reload features should be enabled only if the application is in a "debug" mode, as some reloading can hurt a server in production (when altering document types declared on the platform, resetting caches, etc...)
Note that some hot reload features cannot be handled without additional debug configurations to be available (like the seam debug jar for instance).
This reload handler is supposed to handle at least (or most of) features used in Studio.
Constructor and Description |
---|
NuxeoJSFReloadHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
aboutToHandleEvent(Event event)
Notified about an event about to be processed.
|
void |
handleEvent(Event event)
An event was received.
|
public boolean aboutToHandleEvent(Event event)
EventListener
aboutToHandleEvent
in interface EventListener
event
- the eventpublic void handleEvent(Event event)
EventListener
handleEvent
in interface EventListener
Copyright © 2014 Nuxeo SA. All rights reserved.