org.jboss.aspects.currentinvocation
Class CurrentInvocationInterceptor

java.lang.Object
  extended by org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor
All Implemented Interfaces:
Serializable, org.jboss.aop.advice.Interceptor

public class CurrentInvocationInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor, Serializable

CurrentInvocationInterceptor Associates the current invocation with the running Thread for retrieval by any component within the same request context. Clears the association at the end of the Interceptor chain for safe return to a potential Thread pool.

Version:
$Revision: $
Author:
ALR
See Also:
CurrentInvocation, Serialized Form

Constructor Summary
CurrentInvocationInterceptor()
           
 
Method Summary
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentInvocationInterceptor

public CurrentInvocationInterceptor()
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable


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