Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.aspects.tx
Class TransactionLocalAspect

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

Constructor Summary
`TransactionLocalAspect()`

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`

Constructor Detail

### TransactionLocalAspect

    public TransactionLocalAspect()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.