org.apache.myfaces.trinidadinternal.context
Class TrinidadPhaseListener

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.context.TrinidadPhaseListener
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener

public class TrinidadPhaseListener
extends java.lang.Object
implements javax.faces.event.PhaseListener

Performs some trinidad logic and provides some hooks.

Author:
The Oracle ADF Faces Team
See Also:
Serialized Form

Field Summary
static java.lang.String INITIAL_VIEW_ROOT_KEY
           
 
Constructor Summary
TrinidadPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent event)
           
 void beforePhase(javax.faces.event.PhaseEvent event)
           
 javax.faces.event.PhaseId getPhaseId()
           
static boolean isPostback(javax.faces.context.FacesContext context)
          Returns true if the request might be a postback request.
static void markPostback(javax.faces.context.FacesContext context)
          Marks that this is a postback request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIAL_VIEW_ROOT_KEY

public static final java.lang.String INITIAL_VIEW_ROOT_KEY
See Also:
Constant Field Values
Constructor Detail

TrinidadPhaseListener

public TrinidadPhaseListener()
Method Detail

isPostback

public static boolean isPostback(javax.faces.context.FacesContext context)
Returns true if the request might be a postback request.


markPostback

public static void markPostback(javax.faces.context.FacesContext context)
Marks that this is a postback request.


afterPhase

public void afterPhase(javax.faces.event.PhaseEvent event)
Specified by:
afterPhase in interface javax.faces.event.PhaseListener

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent event)
Specified by:
beforePhase in interface javax.faces.event.PhaseListener

getPhaseId

public javax.faces.event.PhaseId getPhaseId()
Specified by:
getPhaseId in interface javax.faces.event.PhaseListener


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