org.apache.shale.view.faces
Class ViewPhaseListener

java.lang.Object
  extended by org.apache.shale.view.faces.ViewPhaseListener
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.PhaseListener

public class ViewPhaseListener
extends Object
implements javax.faces.event.PhaseListener

ViewPhaseListener is a JavaServer Faces PhaseListener that implements phase related functionality for the view controller portion of Shale.

$Id: ViewPhaseListener.java 490577 2006-12-27 22:19:21Z craigmcc $

See Also:
Serialized Form

Field Summary
static String PHASE_ID
          Request scope attribute under which the PhaseId for the current phase is exposed.
 
Constructor Summary
ViewPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent event)
          Perform after-phase processing for the phase defined in the specified event.
 void beforePhase(javax.faces.event.PhaseEvent event)
          Perform before-phase processing for the phase defined in the specified event.
 javax.faces.event.PhaseId getPhaseId()
          Return PhaseId.ANY_PHASE, indicating our interest in all phases of the request processing lifecycle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PHASE_ID

public static final String PHASE_ID

Request scope attribute under which the PhaseId for the current phase is exposed.

See Also:
Constant Field Values
Constructor Detail

ViewPhaseListener

public ViewPhaseListener()
Method Detail

afterPhase

public void afterPhase(javax.faces.event.PhaseEvent event)

Perform after-phase processing for the phase defined in the specified event.

Specified by:
afterPhase in interface javax.faces.event.PhaseListener
Parameters:
event - PhaseEvent for the current event

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent event)

Perform before-phase processing for the phase defined in the specified event.

Specified by:
beforePhase in interface javax.faces.event.PhaseListener
Parameters:
event - PhaseEvent for the current event

getPhaseId

public javax.faces.event.PhaseId getPhaseId()

Return PhaseId.ANY_PHASE, indicating our interest in all phases of the request processing lifecycle.

Specified by:
getPhaseId in interface javax.faces.event.PhaseListener


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.