org.jboss.ejb3.interceptors.aop
Class InvocationContextInterceptor
java.lang.Object
org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor
public class InvocationContextInterceptor
- extends Object
The invocation context interceptor makes sure that invocation context
is available.
- Version:
- $Revision: 70766 $
- Author:
- Carlo de Wolf
Method Summary |
Object |
fillMethod(org.jboss.aop.joinpoint.Invocation invocation)
|
static org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.InvocationContext |
getInvocationContext(org.jboss.aop.joinpoint.Invocation invocation)
Obtain the invocation context associated with the given invocation. |
String |
getName()
|
Object |
setup(org.jboss.aop.joinpoint.Invocation invocation)
Setup an empty invocation context which can be used for lifecycle callbacks. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocationContextInterceptor
public InvocationContextInterceptor()
getInvocationContext
public static org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.InvocationContext getInvocationContext(org.jboss.aop.joinpoint.Invocation invocation)
- Obtain the invocation context associated with the given invocation.
- Parameters:
invocation
- the AOP invocation
- Returns:
- the EJB invocation context
getName
public String getName()
fillMethod
public Object fillMethod(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Throws:
Throwable
setup
public Object setup(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Setup an empty invocation context which can be used for lifecycle callbacks.
- Parameters:
invocation
-
- Returns:
-
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.