org.apache.myfaces.orchestra.conversation.jsf
Class FlashScopePhaseListener
java.lang.Object
org.apache.myfaces.orchestra.conversation.jsf.FlashScopePhaseListener
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener
public class FlashScopePhaseListener
- extends java.lang.Object
- implements javax.faces.event.PhaseListener
Handle Flash conversations.
At the end of request processing, delete any flash-scope conversations for which no
bean in that scope has been accessed during the request.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlashScopePhaseListener
public FlashScopePhaseListener()
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
invalidateFlashConversations
protected void invalidateFlashConversations(java.lang.String viewId)
- Invalidates any conversation with aspect
ConversationFlashLifetimeAspect
which has not been accessed during a http request
getPhaseId
public javax.faces.event.PhaseId getPhaseId()
- Specified by:
getPhaseId
in interface javax.faces.event.PhaseListener
Copyright 2007 The Apache Software Foundation. All Rights Reserved.