Interface InvocationContext

All Superinterfaces:
GrapheneProxy.FutureTarget
All Known Implementing Classes:
InvocationContextImpl

public interface InvocationContext extends GrapheneProxy.FutureTarget
Author:
Jan Papousek
  • Method Details

    • invoke

      Object invoke() throws Throwable
      Method for invocation of the original method in interception mechanism.
      Returns:
      the result of command invocation
      Throws:
      Throwable
    • getMethod

      Method getMethod()
      Returns:
      the intercepted method
    • getArguments

      Object[] getArguments()
      Returns:
      arguments passed to the given method invocation
    • getTarget

      Object getTarget()
      Specified by:
      getTarget in interface GrapheneProxy.FutureTarget
      Returns:
      the target object of the method invocation
    • getProxy

      Object getProxy()
    • getGrapheneContext

      GrapheneContext getGrapheneContext()