|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.seam.jsf.SeamPhaseListener
public class SeamPhaseListener
Manages the Seam contexts associated with a JSF request throughout the lifecycle of the request. Performs transaction demarcation when Seam transaction management is enabled. Hacks the JSF lifecyle to provide page actions and page parameters.
Constructor Summary | |
---|---|
SeamPhaseListener()
|
Method Summary | |
---|---|
protected void |
afterInvokeApplication()
|
void |
afterPhase(javax.faces.event.PhaseEvent event)
|
protected void |
afterProcessValidations(javax.faces.context.FacesContext facesContext)
|
protected void |
afterRenderResponse(javax.faces.context.FacesContext facesContext)
|
protected void |
afterResponseComplete(javax.faces.context.FacesContext facesContext)
|
protected void |
afterRestoreView(javax.faces.context.FacesContext facesContext)
Restore the page and conversation contexts during a JSF request |
void |
beforePhase(javax.faces.event.PhaseEvent event)
|
protected void |
beforeRenderResponse(javax.faces.context.FacesContext facesContext)
|
protected void |
beforeRestoreView(javax.faces.context.FacesContext facesContext)
Set up the Seam contexts, except for the conversation context |
javax.faces.event.PhaseId |
getPhaseId()
|
protected void |
handleTransactionsAfterPageActions(javax.faces.context.FacesContext facesContext)
|
void |
handleTransactionsAfterPhase(javax.faces.event.PhaseEvent event)
|
void |
handleTransactionsBeforePhase(javax.faces.event.PhaseEvent event)
|
void |
raiseEventsAfterPhase(javax.faces.event.PhaseEvent event)
|
void |
raiseEventsBeforePhase(javax.faces.event.PhaseEvent event)
|
protected void |
raiseTransactionFailedEvent()
Raise an event so that an observer may add a faces message when Seam-managed transactions fail. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeamPhaseListener()
Method Detail |
---|
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
public void handleTransactionsBeforePhase(javax.faces.event.PhaseEvent event)
public void handleTransactionsAfterPhase(javax.faces.event.PhaseEvent event)
protected void handleTransactionsAfterPageActions(javax.faces.context.FacesContext facesContext)
protected void afterInvokeApplication()
protected void afterProcessValidations(javax.faces.context.FacesContext facesContext)
protected void beforeRestoreView(javax.faces.context.FacesContext facesContext)
protected void afterRestoreView(javax.faces.context.FacesContext facesContext)
public void raiseEventsBeforePhase(javax.faces.event.PhaseEvent event)
public void raiseEventsAfterPhase(javax.faces.event.PhaseEvent event)
protected void raiseTransactionFailedEvent()
protected void beforeRenderResponse(javax.faces.context.FacesContext facesContext)
protected void afterRenderResponse(javax.faces.context.FacesContext facesContext)
protected void afterResponseComplete(javax.faces.context.FacesContext facesContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |