Class DelegatingInvocationContext

  • All Implemented Interfaces:
    jakarta.interceptor.InvocationContext

    public class DelegatingInvocationContext
    extends Object
    implements jakarta.interceptor.InvocationContext
    An invocation context which simply delegates to another invocation context.
    Author:
    David M. Lloyd
    • Constructor Detail

      • DelegatingInvocationContext

        public DelegatingInvocationContext​(jakarta.interceptor.InvocationContext delegate)
        Construct a new instance.
        Parameters:
        delegate - the delegate context
    • Method Detail

      • getTarget

        public Object getTarget()
        Specified by:
        getTarget 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
      • getTimer

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

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

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