org.jboss.aspects.currentinvocation
Class CurrentInvocationInterceptor
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurrentInvocationInterceptor
public CurrentInvocationInterceptor()
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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.