FileDocCategorySizeDatePackage
TransactionInjector.javaAPI DocJBoss 4.2.11782Fri Jul 13 21:02:30 BST 2007org.jboss.aspects.tx

TransactionInjector

public class TransactionInjector extends Object
This aspect should be scoped PER_JOINPOINT It allows a field to be like a ThreadLocal
author
Bill Burke
version
$Revision: 57186 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Objectaccess(org.jboss.aop.joinpoint.FieldReadInvocation invocation)

      return TransactionManagerLocator.getInstance().locate().getTransaction();
   
public java.lang.Objectaccess(org.jboss.aop.joinpoint.FieldWriteInvocation invocation)

      throw new RuntimeException("It is illegal to set an injected Transaction field.");