public class RestfulPhaseListener extends Object implements javax.faces.event.PhaseListener
Modifier and Type | Field and Description |
---|---|
static String |
SEAM_HOTRELOAD_TRIGGER_ACTION |
protected URLPolicyService |
service |
Constructor and Description |
---|
RestfulPhaseListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterPhase(javax.faces.event.PhaseEvent event) |
void |
beforePhase(javax.faces.event.PhaseEvent event) |
javax.faces.event.PhaseId |
getPhaseId() |
protected URLPolicyService |
getURLPolicyService() |
protected void |
handleException(javax.faces.context.FacesContext context,
Exception e) |
protected void |
resetHotReloadContext(javax.faces.context.FacesContext facesContext)
Hack trigger of a Seam component that will trigger reset of most Seam components caches, only if dev mode is
enabled
|
public static final String SEAM_HOTRELOAD_TRIGGER_ACTION
protected URLPolicyService service
public RestfulPhaseListener()
protected URLPolicyService getURLPolicyService()
public javax.faces.event.PhaseId getPhaseId()
getPhaseId
in interface javax.faces.event.PhaseListener
public void beforePhase(javax.faces.event.PhaseEvent event)
beforePhase
in interface javax.faces.event.PhaseListener
public void afterPhase(javax.faces.event.PhaseEvent event)
afterPhase
in interface javax.faces.event.PhaseListener
protected void handleException(javax.faces.context.FacesContext context, Exception e)
protected void resetHotReloadContext(javax.faces.context.FacesContext facesContext)
This is handled here to be done very early, before response is constructed.
Framework.isDevModeSet()
Copyright © 2016 Nuxeo SA. All rights reserved.