org.apache.myfaces.lifecycle
Class LifecycleImpl

java.lang.Object
  extended by javax.faces.lifecycle.Lifecycle
      extended by org.apache.myfaces.lifecycle.LifecycleImpl

public class LifecycleImpl
extends Lifecycle

Implements the lifecycle as described in Spec. 1.0 PFD Chapter 2

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Manfred Geiler (latest modification by $Author: bommel $), Nikolay Petrov

Field Summary
static String FIRST_REQUEST_PROCESSED_PARAM
          Boolean.TRUE is stored under this key in the application map if the first request has been processed.
 
Constructor Summary
LifecycleImpl()
          Lazy cache for returning _phaseListenerList as an Array.
 
Method Summary
 void addPhaseListener(PhaseListener phaseListener)
           
 void execute(FacesContext facesContext)
           
 PhaseListener[] getPhaseListeners()
           
 void removePhaseListener(PhaseListener phaseListener)
           
 void render(FacesContext facesContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST_REQUEST_PROCESSED_PARAM

public static final String FIRST_REQUEST_PROCESSED_PARAM
Boolean.TRUE is stored under this key in the application map if the first request has been processed.

See Also:
Constant Field Values
Constructor Detail

LifecycleImpl

public LifecycleImpl()
Lazy cache for returning _phaseListenerList as an Array. Replaced by _phaseListenerList CopyOnWriteArrayList

Method Detail

execute

public void execute(FacesContext facesContext)
             throws FacesException
Specified by:
execute in class Lifecycle
Throws:
FacesException

render

public void render(FacesContext facesContext)
            throws FacesException
Specified by:
render in class Lifecycle
Throws:
FacesException

addPhaseListener

public void addPhaseListener(PhaseListener phaseListener)
Specified by:
addPhaseListener in class Lifecycle

removePhaseListener

public void removePhaseListener(PhaseListener phaseListener)
Specified by:
removePhaseListener in class Lifecycle

getPhaseListeners

public PhaseListener[] getPhaseListeners()
Specified by:
getPhaseListeners in class Lifecycle


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.