public class InvocationContextImpl extends Object implements InvocationContext
Constructor and Description |
---|
InvocationContextImpl(GrapheneContext context,
Object target,
Object proxy,
Method method,
Object[] arguments) |
InvocationContextImpl(Interceptor interceptor,
InvocationContext following) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getArguments() |
GrapheneContext |
getGrapheneContext() |
Method |
getMethod() |
Object |
getProxy() |
Object |
getTarget() |
Object |
invoke()
Method for invocation of the original method in interception mechanism.
|
public InvocationContextImpl(GrapheneContext context, Object target, Object proxy, Method method, Object[] arguments)
public InvocationContextImpl(Interceptor interceptor, InvocationContext following)
public Object invoke() throws Throwable
InvocationContext
invoke
in interface InvocationContext
Throwable
public Method getMethod()
getMethod
in interface InvocationContext
public Object[] getArguments()
getArguments
in interface InvocationContext
public Object getTarget()
getTarget
in interface GrapheneProxy.FutureTarget
getTarget
in interface InvocationContext
public Object getProxy()
getProxy
in interface InvocationContext
public GrapheneContext getGrapheneContext()
getGrapheneContext
in interface InvocationContext
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.