org.jboss.aspects
Class ThreadbasedAspect
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadbasedAspect
public ThreadbasedAspect()
access
public Object access(FieldReadInvocation invocation)
throws Throwable
- Throws:
Throwable
access
public Object access(FieldWriteInvocation invocation)
throws Throwable
- Throws:
Throwable
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.