Unfortunately, no. However, the code should be pretty simple, something along 
the lines:

public class MyAspect
  | {
  |    ThreadLocal<Collection<yourstuff> previousInvocations = new ThreadLocal()
  |    {
  |        public Collection<yourstuff> initialValue()
  |        {
  |             return new ArrayList<yourstuff>();
  |         }
  |     };
  | 
  |    public Object advice(Invocation invocation)
  |    {
  |          Collection<yourstuff> previousThreadInvocations = 
previousInvocations.get();
  |          // put the stack stuff that you need in the collection
  |          previousThreadInvocations.add(invocation...);
  |          return invocation.invokeNext();
  |     }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183346#4183346

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183346
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to