org.springframework.transaction.interceptor
Class TransactionAspectSupport.TransactionInfo

java.lang.Object
  extended byorg.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.


Method Summary
 TransactionAttribute getTransactionAttribute()
           
 TransactionStatus getTransactionStatus()
           
 boolean hasTransaction()
           
 String joinpointIdentification()
          Return a String representation of this joinpoint (usually a Method call) for use in logging.
 void newTransactionStatus(TransactionStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasTransaction

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

joinpointIdentification

public String joinpointIdentification()
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()

getTransactionAttribute

public TransactionAttribute getTransactionAttribute()


Copyright (C) 2003-2004 The Spring Framework Project.