org.jboss.aspects
Class ThreadbasedAspect

java.lang.Object
  extended by org.jboss.aspects.ThreadbasedAspect

public class ThreadbasedAspect
extends Object

This aspect should be scoped PER_JOINPOINT It allows a field to be like a ThreadLocal

Version:
$Revision: 71279 $
Author:
Bill Burke

Constructor Summary
ThreadbasedAspect()
           
 
Method Summary
 Object access(FieldReadInvocation invocation)
           
 Object access(FieldWriteInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadbasedAspect

public ThreadbasedAspect()
Method Detail

access

public Object access(FieldReadInvocation invocation)
              throws Throwable
Throws:
Throwable

access

public Object access(FieldWriteInvocation invocation)
              throws Throwable
Throws:
Throwable


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.