Interface InvocationContext


public interface InvocationContext
The InvocationContext object provides the metadata that is required for AroundInvoke interceptor methods.
  • Method Details

    • getTarget

      Object getTarget()
    • getMethod

      Method getMethod()
    • getParameters

      Object[] getParameters()
    • setParameters

      void setParameters(Object[] params)
    • getContextData

      Map<String,Object> getContextData()
      Returns the context data associated with this invocation or lifecycle callback. If there is no context data, an empty Map object will be returned.
    • getTimer

      Object getTimer()
      Returns the timer associated with an @AroundTimeout method.
      Since:
      3.1
    • proceed

      Object proceed() throws Exception
      Throws:
      Exception