org.jboss.aspects.currentinvocation
Class CurrentInvocation

java.lang.Object
  extended by org.jboss.aspects.currentinvocation.CurrentInvocation

public class CurrentInvocation
extends Object

CurrentInvocation Holds the Invocation associated with the Current Thread for access from any class within the associated Thread's context (scope). Internally contains a central registry backed by a ThreadLocal to contain the Invocation.

Version:
$Revision: $
Author:
ALR

Constructor Summary
CurrentInvocation()
           
 
Method Summary
static org.jboss.aop.joinpoint.Invocation getCurrentInvocation()
          Retrieves the Invocation associated with the current Thread / request if one is associated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentInvocation

public CurrentInvocation()
Method Detail

getCurrentInvocation

public static org.jboss.aop.joinpoint.Invocation getCurrentInvocation()
Retrieves the Invocation associated with the current Thread / request if one is associated. Returns null otherwise

Returns:


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