JSF-Spring

de.mindmatters.faces.spring.context.servlet.lifecycle
Class InvokeApplicationPhase

java.lang.Object
  extended by de.mindmatters.faces.lifecycle.AbstractPhase
      extended by de.mindmatters.faces.lifecycle.InvokeApplicationPhase
          extended by de.mindmatters.faces.spring.context.servlet.lifecycle.InvokeApplicationPhase
All Implemented Interfaces:
Phase

public class InvokeApplicationPhase
extends InvokeApplicationPhase

Invoke Application Phase implementation used by the special JSF-Spring Lifecycle identified by LifecycleImpl.JSF_SPRING_LIFECYCLE_ID.

Checks whether the currently executing Spring MVC Handler implements InvokeApplicationPhaseListener or defines a method
public void beforeInvokeApplication(FacesContext context)
or
public void afterInvokeApplication(FacesContext context)
respectively and invokes the appropriate one at the beginning and the end of phase processing.

Author:
Andreas Kuhrwahl

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.mindmatters.faces.lifecycle.Phase
Phase.PhaseIdName
 
Constructor Summary
InvokeApplicationPhase()
           
 
Method Summary
protected  void afterPhase(FacesContext context)
          Template method.
protected  void beforePhase(FacesContext context)
          Template method.
 
Methods inherited from class de.mindmatters.faces.lifecycle.InvokeApplicationPhase
executePhase, getId
 
Methods inherited from class de.mindmatters.faces.lifecycle.AbstractPhase
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokeApplicationPhase

public InvokeApplicationPhase()
Method Detail

afterPhase

protected void afterPhase(FacesContext context)
Template method. Subclasses can override this. This method will be invoked after the concrete phase is executed. Default implementation does nothing.

Overrides:
afterPhase in class AbstractPhase
Parameters:
context - FacesContext for the current request being processed

beforePhase

protected void beforePhase(FacesContext context)
Template method. Subclasses can override this. This method will be invoked before the concrete phase is executed. Default implementation does nothing.

Overrides:
beforePhase in class AbstractPhase
Parameters:
context - FacesContext for the current request being processed

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG