站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.7 cr1 API 英文版文档

TransactionalSeamPhaseListener (JBoss Seam API Documentation) - JBoss Seam 1.1.7 cr1 API 英文版文档


org.jboss.seam.jsf
Class TransactionalSeamPhaseListener

java.lang.Object
  extended by org.jboss.seam.jsf.AbstractSeamPhaseListener
      extended by org.jboss.seam.jsf.SeamPhaseListener
          extended by org.jboss.seam.jsf.TransactionalSeamPhaseListener
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.PhaseListener
Direct Known Subclasses:
SeamExtendedManagedPersistencePhaseListener

public class TransactionalSeamPhaseListener
extends SeamPhaseListener

Transaction management for extended persistence contexts. A transaction spans the restore view, apply request values, process validations, update model values and invoke application phases. It is committed when invoke application is complete, or renderResponse() or responseComplete() is called. A second transaction spans the render response phase.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
TransactionalSeamPhaseListener()
           
 
Method Summary
protected  void afterInvokeApplication()
          Give the subclasses an opportunity to do stuff
protected  void handleTransactionsAfterPageActions(javax.faces.event.PhaseEvent event)
           
 void handleTransactionsAfterPhase(javax.faces.event.PhaseEvent event)
           
 void handleTransactionsBeforePhase(javax.faces.event.PhaseEvent event)
           
 
Methods inherited from class org.jboss.seam.jsf.SeamPhaseListener
afterPhase, beforePhase
 
Methods inherited from class org.jboss.seam.jsf.AbstractSeamPhaseListener
addTransactionFailedMessage, afterProcessValidations, afterRender, afterResponseComplete, afterRestoreView, beforeRender, beforeUpdateModelValues, getPhaseId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalSeamPhaseListener

public TransactionalSeamPhaseListener()
Method Detail

handleTransactionsBeforePhase

public void handleTransactionsBeforePhase(javax.faces.event.PhaseEvent event)
Overrides:
handleTransactionsBeforePhase in class SeamPhaseListener

handleTransactionsAfterPhase

public void handleTransactionsAfterPhase(javax.faces.event.PhaseEvent event)
Overrides:
handleTransactionsAfterPhase in class SeamPhaseListener

handleTransactionsAfterPageActions

protected void handleTransactionsAfterPageActions(javax.faces.event.PhaseEvent event)
Overrides:
handleTransactionsAfterPageActions in class AbstractSeamPhaseListener

afterInvokeApplication

protected void afterInvokeApplication()
Description copied from class: AbstractSeamPhaseListener
Give the subclasses an opportunity to do stuff

Overrides:
afterInvokeApplication in class AbstractSeamPhaseListener