com.schlimm.springcdi.interceptor.processor
Class MethodInvocationWrapper
java.lang.Object
com.schlimm.springcdi.interceptor.processor.MethodInvocationWrapper
- All Implemented Interfaces:
- javax.interceptor.InvocationContext
public class MethodInvocationWrapper
- extends Object
- implements javax.interceptor.InvocationContext
MethodInvocation
wrapper that is passed as argument to JSR 318 interceptors.
- Author:
- Niklas Schlimm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvocationWrapper
public MethodInvocationWrapper(org.aopalliance.intercept.MethodInvocation methodInvocation)
getContextData
public Map<String,Object> getContextData()
- Specified by:
getContextData
in interface javax.interceptor.InvocationContext
addAllContextData
public void addAllContextData(Map<String,Object> contextData)
addContextData
public void addContextData(String name,
Object value)
getMethod
public Method getMethod()
- Specified by:
getMethod
in interface javax.interceptor.InvocationContext
getParameters
public Object[] getParameters()
- Specified by:
getParameters
in interface javax.interceptor.InvocationContext
getTarget
public Object getTarget()
- Specified by:
getTarget
in interface javax.interceptor.InvocationContext
getTimer
public Object getTimer()
- Specified by:
getTimer
in interface javax.interceptor.InvocationContext
proceed
public Object proceed()
throws Exception
- Specified by:
proceed
in interface javax.interceptor.InvocationContext
- Throws:
Exception
setParameters
public void setParameters(Object[] params)
- Specified by:
setParameters
in interface javax.interceptor.InvocationContext
Copyright © 2011. All Rights Reserved.