Class InvocationContextImpl
java.lang.Object
org.jboss.arquillian.graphene.proxy.InvocationContextImpl
- All Implemented Interfaces:
GrapheneProxy.FutureTarget,InvocationContext
- Author:
- Jan Papousek
-
Constructor Summary
ConstructorsConstructorDescriptionInvocationContextImpl(GrapheneContext context, Object target, Object proxy, Method method, Object[] arguments) InvocationContextImpl(Interceptor interceptor, InvocationContext following) -
Method Summary
-
Constructor Details
-
InvocationContextImpl
public InvocationContextImpl(GrapheneContext context, Object target, Object proxy, Method method, Object[] arguments) -
InvocationContextImpl
-
-
Method Details
-
invoke
Description copied from interface:InvocationContextMethod for invocation of the original method in interception mechanism.- Specified by:
invokein interfaceInvocationContext- Returns:
- the result of command invocation
- Throws:
Throwable
-
getMethod
- Specified by:
getMethodin interfaceInvocationContext- Returns:
- the intercepted method
-
getArguments
- Specified by:
getArgumentsin interfaceInvocationContext- Returns:
- arguments passed to the given method invocation
-
getTarget
- Specified by:
getTargetin interfaceGrapheneProxy.FutureTarget- Specified by:
getTargetin interfaceInvocationContext- Returns:
- the target object of the method invocation
-
getProxy
- Specified by:
getProxyin interfaceInvocationContext
-
getGrapheneContext
- Specified by:
getGrapheneContextin interfaceInvocationContext
-