cuba.ejb
Class EJB3AroundForwarder
java.lang.Object
cuba.ejb.EJB3AroundForwarder
- All Implemented Interfaces:
- InvocationContextI
public class EJB3AroundForwarder
- extends java.lang.Object
- implements InvocationContextI
Forwards an around invocation from a generated EJB3 adapter to its core.
Basically the class just acts as a delegate to a javax.interceptor.InvocationContext
accept in getMethod()
which returns the method declarator of the
core object rather than the declarator of the adapter.
- Author:
- Jan Lessner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJB3AroundForwarder
public EJB3AroundForwarder(javax.interceptor.InvocationContext hull)
getTarget
public java.lang.Object getTarget()
- Specified by:
getTarget
in interface InvocationContextI
getComponentContext
public ComponentContextI getComponentContext()
- Specified by:
getComponentContext
in interface InvocationContextI
getContextData
public java.util.Map getContextData()
- Specified by:
getContextData
in interface InvocationContextI
getParameters
public java.lang.Object[] getParameters()
- Specified by:
getParameters
in interface InvocationContextI
proceed
public java.lang.Object proceed()
throws java.lang.Exception
- Specified by:
proceed
in interface InvocationContextI
- Throws:
java.lang.Exception
setParameters
public void setParameters(java.lang.Object[] params)
- Specified by:
setParameters
in interface InvocationContextI
getMethod
public java.lang.reflect.Method getMethod()
- Specified by:
getMethod
in interface InvocationContextI