当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
TransactionLocalAspect (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects  API Documentation 英文版文档
org.jboss.aspects.tx
Class TransactionLocalAspect
java.lang.Object
   org.jboss.aspects.tx.TransactionLocalAspect
org.jboss.aspects.tx.TransactionLocalAspect
- public class TransactionLocalAspect- extends Object
This aspect should be scoped PER_JOINPOINT
 It allows a field to have the value of itself pertain
 to the current transaction.
 The fields transactional and non-transactional value is always separate
 At tx commit, the transactional value the field had is wiped away.
 At tx commit, the transactional value does not correspond to the non-transactional value
 If you are within a transaction and you get the value of the field before setting it
 then the initial transational value will be set to the current non-transactional value
- Version:
- $Revision: 1.2 $
- Author:
- Bill Burke
 
| Method Summary | 
|  Object | access(org.jboss.aop.joinpoint.FieldReadInvocation invocation)
 | 
|  Object | access(org.jboss.aop.joinpoint.FieldWriteInvocation invocation)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TransactionLocalAspect
public TransactionLocalAspect()
access
public Object access(org.jboss.aop.joinpoint.FieldReadInvocation invocation)
              throws Throwable
- 
- Throws:
- Throwable
 
access
public Object access(org.jboss.aop.joinpoint.FieldWriteInvocation invocation)
              throws Throwable
- 
- Throws:
- Throwable
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.