org.jboss.ejb3.interceptors.aop
Class InvocationContextInterceptor

java.lang.Object
  extended by org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor

public class InvocationContextInterceptor
extends java.lang.Object

The invocation context interceptor makes sure that invocation context is available.

Version:
$Revision: 70766 $
Author:
Carlo de Wolf

Constructor Summary
InvocationContextInterceptor()
           
 
Method Summary
 java.lang.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.
 java.lang.String getName()
           
 java.lang.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
 

Constructor Detail

InvocationContextInterceptor

public InvocationContextInterceptor()
Method Detail

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 java.lang.String getName()

fillMethod

public java.lang.Object fillMethod(org.jboss.aop.joinpoint.Invocation invocation)
                            throws java.lang.Throwable
Throws:
java.lang.Throwable

setup

public java.lang.Object setup(org.jboss.aop.joinpoint.Invocation invocation)
                       throws java.lang.Throwable
Setup an empty invocation context which can be used for lifecycle callbacks.

Parameters:
invocation -
Returns:
Throws:
java.lang.Throwable


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