org.apache.empire.jsf2.app
Class AppRequestPhaseListener

java.lang.Object
  extended by org.apache.empire.jsf2.app.AppRequestPhaseListener
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.PhaseListener

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

See Also:
Serialized Form

Constructor Summary
AppRequestPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent pe)
          VERY VERY IMPORTANT FUNCTION: Release Connection on End of request!
 void beforePhase(javax.faces.event.PhaseEvent pe)
           
 javax.faces.event.PhaseId getPhaseId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppRequestPhaseListener

public AppRequestPhaseListener()
Method Detail

getPhaseId

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

beforePhase

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

afterPhase

public void afterPhase(javax.faces.event.PhaseEvent pe)
VERY VERY IMPORTANT FUNCTION: Release Connection on End of request!

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


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.