org.springframework.jee.intercept
Class MethodInvocationInvocationContext

java.lang.Object
  extended by org.springframework.jee.intercept.MethodInvocationInvocationContext
All Implemented Interfaces:
InvocationContext

public class MethodInvocationInvocationContext
extends java.lang.Object
implements InvocationContext

Implementation of EJB3 InvocationContext for interception built on Spring ReflectiveMethodInvocation and AOP Alliance API.

Author:
Rod Johnson, Michael Chen

Constructor Summary
MethodInvocationInvocationContext(org.springframework.aop.framework.ReflectiveMethodInvocation mi)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getContextData()
           
 javax.ejb.EJBContext getEJBContext()
           
 java.lang.reflect.Method getMethod()
           
 java.lang.Object[] getParameters()
           
 java.lang.Object getTarget()
           
 java.lang.Object proceed()
           
 void setParameters(java.lang.Object[] parms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvocationInvocationContext

public MethodInvocationInvocationContext(org.springframework.aop.framework.ReflectiveMethodInvocation mi)
Method Detail

getTarget

public java.lang.Object getTarget()
Specified by:
getTarget in interface InvocationContext

getMethod

public java.lang.reflect.Method getMethod()
Specified by:
getMethod in interface InvocationContext

getParameters

public java.lang.Object[] getParameters()
Specified by:
getParameters in interface InvocationContext

setParameters

public void setParameters(java.lang.Object[] parms)
Specified by:
setParameters in interface InvocationContext

getEJBContext

public javax.ejb.EJBContext getEJBContext()

getContextData

public java.util.Map<java.lang.String,java.lang.Object> getContextData()
Specified by:
getContextData in interface InvocationContext

proceed

public java.lang.Object proceed()
                         throws java.lang.Exception
Specified by:
proceed in interface InvocationContext
Throws:
java.lang.Exception


Copyright 2006 Interface21. All Rights Reserved.