|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.orchestra.viewController.jsf.ViewControllerPhaseListener
public class ViewControllerPhaseListener
Causes lifecycle methods to be invoked on backing beans that are associated with the current view.
See the javadoc for class ViewControllerManager on how to configure this.
Constructor Summary | |
---|---|
ViewControllerPhaseListener()
|
Method Summary | |
---|---|
void |
afterPhase(javax.faces.event.PhaseEvent event)
|
protected void |
assertConversationState(javax.faces.context.FacesContext facesContext)
invoked multiple times during the lifecycle to ensure the conversation(s) to the associated viewController are running. |
void |
beforePhase(javax.faces.event.PhaseEvent event)
|
javax.faces.event.PhaseId |
getPhaseId()
|
protected java.lang.String |
getViewId(javax.faces.context.FacesContext facesContext)
|
protected void |
postRestoreView(javax.faces.context.FacesContext facesContext)
invokes the initView method on your view controller |
protected void |
preInvokeApplication(javax.faces.context.FacesContext facesContext)
invokes the preProcess method on your view controller |
protected void |
preRenderResponse(javax.faces.context.FacesContext facesContext)
invokes the preRenderView method on your view controller |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewControllerPhaseListener()
Method Detail |
---|
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 javax.faces.event.PhaseId getPhaseId()
getPhaseId
in interface javax.faces.event.PhaseListener
protected java.lang.String getViewId(javax.faces.context.FacesContext facesContext)
protected void assertConversationState(javax.faces.context.FacesContext facesContext)
facesContext
- protected void preRenderResponse(javax.faces.context.FacesContext facesContext)
protected void postRestoreView(javax.faces.context.FacesContext facesContext)
protected void preInvokeApplication(javax.faces.context.FacesContext facesContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |