com.sun.ejb.containers.interceptors
Class AroundInvokeInvocationContext
java.lang.Object
com.sun.ejb.containers.interceptors.CallbackInvocationContext
com.sun.ejb.containers.interceptors.AroundInvokeInvocationContext
- All Implemented Interfaces:
- InterceptorManager.AroundInvokeContext, InvocationContext
public class AroundInvokeInvocationContext
- extends CallbackInvocationContext
- implements InterceptorManager.AroundInvokeContext
Concrete InvocationContext implementation passed to callback methods
defined in interceptor classes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AroundInvokeInvocationContext
public AroundInvokeInvocationContext(Object targetObjectInstance,
Object[] interceptorInstances,
InterceptorManager.InterceptorChain chain,
Method m,
Object[] params)
getMethod
public Method getMethod()
- Specified by:
getMethod in interface InvocationContext- Overrides:
getMethod in class CallbackInvocationContext
proceed
public Object proceed()
throws Exception
- Specified by:
proceed in interface InvocationContext- Overrides:
proceed in class CallbackInvocationContext
- Throws:
Exception
getParameters
public Object[] getParameters()
- Specified by:
getParameters in interface InvocationContext- Overrides:
getParameters in class CallbackInvocationContext
setParameters
public void setParameters(Object[] params)
- Specified by:
setParameters in interface InvocationContext- Overrides:
setParameters in class CallbackInvocationContext
invokeBeanMethod
public Object invokeBeanMethod()
throws Throwable
- Called from Interceptor Chain to invoke the actual bean method.
This method must throw any exception from the bean method *as is*,
without being wrapped in an InvocationTargetException. The exception
thrown from this method will be propagated through the application's
interceptor code, so it must not be changed in order for any exception
handling logic in that code to function properly.
- Specified by:
invokeBeanMethod in interface InterceptorManager.AroundInvokeContext
- Throws:
Throwable
Copyright © 2012 GlassFish Community. All Rights Reserved.