org.springframework.jee.intercept
Class MethodInvocationInvocationContext

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

public class MethodInvocationInvocationContext
extends Object
implements javax.interceptor.InvocationContext

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

Author:
Rod Johnson, Michael Chen

Constructor Summary
MethodInvocationInvocationContext(ReflectiveMethodInvocation mi)
           
 
Method Summary
 Map<String,Object> getContextData()
           
 javax.ejb.EJBContext getEJBContext()
           
 Method getMethod()
           
 Object[] getParameters()
           
 Object getTarget()
           
 Object proceed()
           
 void setParameters(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(ReflectiveMethodInvocation mi)
Method Detail

getTarget

public Object getTarget()
Specified by:
getTarget in interface javax.interceptor.InvocationContext

getMethod

public Method getMethod()
Specified by:
getMethod in interface javax.interceptor.InvocationContext

getParameters

public Object[] getParameters()
Specified by:
getParameters in interface javax.interceptor.InvocationContext

setParameters

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

getEJBContext

public javax.ejb.EJBContext getEJBContext()

getContextData

public Map<String,Object> getContextData()
Specified by:
getContextData in interface javax.interceptor.InvocationContext

proceed

public Object proceed()
               throws Exception
Specified by:
proceed in interface javax.interceptor.InvocationContext
Throws:
Exception


Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.