Class CallbackInvocationContext

  • All Implemented Interfaces:
    jakarta.interceptor.InvocationContext
    Direct Known Subclasses:
    AroundInvokeInvocationContext

    public class CallbackInvocationContext
    extends Object
    implements jakarta.interceptor.InvocationContext
    Concrete InvocationContext implementation passed to callback methods defined in interceptor classes.
    • Method Detail

      • getTarget

        public Object getTarget()
        Specified by:
        getTarget in interface jakarta.interceptor.InvocationContext
      • getInterceptorInstances

        public Object[] getInterceptorInstances()
      • getTimer

        public Object getTimer()
        Specified by:
        getTimer in interface jakarta.interceptor.InvocationContext
      • getConstructor

        public Constructor<?> getConstructor()
        Specified by:
        getConstructor in interface jakarta.interceptor.InvocationContext
      • getMethod

        public Method getMethod()
        Specified by:
        getMethod in interface jakarta.interceptor.InvocationContext
      • getParameters

        public Object[] getParameters()
        Specified by:
        getParameters in interface jakarta.interceptor.InvocationContext
      • setParameters

        public void setParameters​(Object[] params)
        Specified by:
        setParameters in interface jakarta.interceptor.InvocationContext
      • getContextData

        public Map<String,​Object> getContextData()
        Specified by:
        getContextData in interface jakarta.interceptor.InvocationContext
      • proceed

        public Object proceed()
                       throws Exception
        Specified by:
        proceed in interface jakarta.interceptor.InvocationContext
        Throws:
        Exception
      • invokeSpecial

        public void invokeSpecial()
                           throws Throwable
        Called from Interceptor Chain to create the bean instance.
        Throws:
        Throwable