Keel 2.1RC2

org.keel.faces.lifecycle
Class LifecycleImpl

java.lang.Object
  extended byLifecycle
      extended byorg.keel.faces.lifecycle.LifecycleImpl

public class LifecycleImpl
extends Lifecycle

LifeCycle implementation - this is what takes each request through the phases of the JSF lifecycle

See Also:
Serialized Form

Field Summary
private  RenderKitFactory _rkFactory
           
private  java.util.Set phaseListeners
           
 
Constructor Summary
LifecycleImpl()
           
 
Method Summary
 void addPhaseListener(PhaseListener ph)
           
private  boolean applyRequestValues(FacesContext facesContext)
          Apply Request Values (JSF.2.2.2)
private  void doAfterEventProcessing(FacesContext facesContext, PhaseId phaseId)
           
private  void doBeforeEventProcessing(FacesContext facesContext, PhaseId phaseId)
           
 void execute(FacesContext facesContext)
           
 PhaseListener[] getPhaseListeners()
           
private  boolean invokeApplication(FacesContext facesContext)
          Invoke Application
private  boolean processValidations(FacesContext facesContext)
          Process Validations
 void removePhaseListener(PhaseListener ph)
           
private  void renderResponse(FacesContext facesContext)
          Render Response
private  void restoreView(FacesContext facesContext)
           
private  void storeView(FacesContext facesContext)
           
private  boolean updateModelValues(FacesContext facesContext)
          Update Model Values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rkFactory

private RenderKitFactory _rkFactory

phaseListeners

private java.util.Set phaseListeners
Constructor Detail

LifecycleImpl

public LifecycleImpl()
Method Detail

getPhaseListeners

public PhaseListener[] getPhaseListeners()

addPhaseListener

public void addPhaseListener(PhaseListener ph)

removePhaseListener

public void removePhaseListener(PhaseListener ph)

execute

public void execute(FacesContext facesContext)
             throws FacesException
Throws:
FacesException

restoreView

private void restoreView(FacesContext facesContext)
                  throws FacesException
Throws:
FacesException

applyRequestValues

private boolean applyRequestValues(FacesContext facesContext)
                            throws FacesException
Apply Request Values (JSF.2.2.2)

Returns:
true, if response is complete
Throws:
FacesException

processValidations

private boolean processValidations(FacesContext facesContext)
                            throws FacesException
Process Validations

Returns:
true, if response is complete
Throws:
FacesException

updateModelValues

private boolean updateModelValues(FacesContext facesContext)
                           throws FacesException
Update Model Values

Returns:
true, if response is complete
Throws:
FacesException

invokeApplication

private boolean invokeApplication(FacesContext facesContext)
                           throws FacesException
Invoke Application

Returns:
true, if response is complete
Throws:
FacesException

renderResponse

private void renderResponse(FacesContext facesContext)
                     throws FacesException
Render Response

Throws:
FacesException

doBeforeEventProcessing

private void doBeforeEventProcessing(FacesContext facesContext,
                                     PhaseId phaseId)

doAfterEventProcessing

private void doAfterEventProcessing(FacesContext facesContext,
                                    PhaseId phaseId)

storeView

private void storeView(FacesContext facesContext)
                throws FacesException
Throws:
FacesException

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.