org.jboss.seam.faces.transaction
Class TransactionPhaseListener
java.lang.Object
org.jboss.seam.faces.transaction.TransactionPhaseListener
- All Implemented Interfaces:
- Serializable, EventListener, PhaseListener
@Requires(value={"org.jboss.seam.persistence.PersistenceContextsImpl","org.jboss.seam.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, Brian Leathem
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionPhaseListener
public TransactionPhaseListener()
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.