C# Class Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo

Opaque object used to hold transaction information.

Subclasses must pass it back to method on this class, but not see its internals.

显示文件 Open project: spring-projects/spring-net

Public Methods

Method Description
BindToThread ( ) : void

Binds this Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo instance to the thread local storage variable for the current thread and backs up the existing Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo object for the current thread.

RestoreThreadLocalStatus ( ) : void

Restores the previous Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo object to the current thread.

TransactionInfo ( ITransactionAttribute transactionAttribute, string joinpointIdentification ) : System

Creates a new instance of the Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo class for the supplied transactionAttribute.

Method Details

BindToThread() public method

Binds this Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo instance to the thread local storage variable for the current thread and backs up the existing Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo object for the current thread.
public BindToThread ( ) : void
return void

RestoreThreadLocalStatus() public method

Restores the previous Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo object to the current thread.
public RestoreThreadLocalStatus ( ) : void
return void

TransactionInfo() public method

Creates a new instance of the Spring.Transaction.Interceptor.TransactionAspectSupport.TransactionInfo class for the supplied transactionAttribute.
public TransactionInfo ( ITransactionAttribute transactionAttribute, string joinpointIdentification ) : System
transactionAttribute ITransactionAttribute The transaction attributes to associate with any transaction.
joinpointIdentification string The info for diagnostic display of joinpoint
return System