org.jboss.seam.faces.transaction
Class TransactionPhaseListener

java.lang.Object
  extended by org.jboss.seam.faces.transaction.TransactionPhaseListener
All Implemented Interfaces:
Serializable, EventListener, PhaseListener

@Requires(value={"org.jboss.seam.persistence.PersistenceContextsImpl","org.jboss.seam.persistence.transaction.TransactionExtension"})
public class TransactionPhaseListener
extends Object
implements PhaseListener

Phase listener that is responsible for seam managed transactions. It is also responsible for setting the correct flush mode on the persistence context during the render response phase

Author:
Stuart Douglas
See Also:
Serialized Form

Constructor Summary
TransactionPhaseListener()
           
 
Method Summary
 void afterPhase(PhaseEvent event)
           
 void beforePhase(PhaseEvent event)
           
 PhaseId getPhaseId()
           
 void handleTransactionsAfterPhase(PhaseEvent event)
           
 void handleTransactionsBeforePhase(PhaseEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionPhaseListener

public TransactionPhaseListener()
Method Detail

getPhaseId

public PhaseId getPhaseId()
Specified by:
getPhaseId in interface PhaseListener

beforePhase

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

afterPhase

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

handleTransactionsBeforePhase

public void handleTransactionsBeforePhase(PhaseEvent event)

handleTransactionsAfterPhase

public void handleTransactionsAfterPhase(PhaseEvent event)


Copyright © 2009-2011 Seam Framework. All Rights Reserved.