站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

TransactionAspectSupport.TransactionInfo (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.transaction.interceptor
Class TransactionAspectSupport.TransactionInfo

java.lang.Object
  extended by org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
Enclosing class:
TransactionAspectSupport

protected class TransactionAspectSupport.TransactionInfo
extends Object

Opaque object used to hold Transaction information. Subclasses must pass it back to methods on this class, but not see its internals.


Constructor Summary
TransactionAspectSupport.TransactionInfo(TransactionAttribute transactionAttribute, String joinpointIdentification)
           
 
Method Summary
 String getJoinpointIdentification()
          Return a String representation of this joinpoint (usually a Method call) for use in logging.
 TransactionAttribute getTransactionAttribute()
           
 TransactionStatus getTransactionStatus()
           
 boolean hasTransaction()
          Return whether a transaction was created by this aspect, or whether we just have a placeholder to keep ThreadLocal stack integrity.
 void newTransactionStatus(TransactionStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionAspectSupport.TransactionInfo

public TransactionAspectSupport.TransactionInfo(TransactionAttribute transactionAttribute,
                                                String joinpointIdentification)
Method Detail

getTransactionAttribute

public TransactionAttribute getTransactionAttribute()

getJoinpointIdentification

public String getJoinpointIdentification()
Return a String representation of this joinpoint (usually a Method call) for use in logging.


newTransactionStatus

public void newTransactionStatus(TransactionStatus status)

getTransactionStatus

public TransactionStatus getTransactionStatus()

hasTransaction

public boolean hasTransaction()
Return whether a transaction was created by this aspect, or whether we just have a placeholder to keep ThreadLocal stack integrity.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.