Class AbstractInvocationContext<T>

  • All Implemented Interfaces:
    javax.interceptor.InvocationContext
    Direct Known Subclasses:
    InterceptorInvocationContext

    public abstract class AbstractInvocationContext<T>
    extends Object
    implements javax.interceptor.InvocationContext
    • Field Detail

      • target

        protected javax.inject.Provider<T> target
      • parameters

        protected Object[] parameters
    • Constructor Detail

      • AbstractInvocationContext

        public AbstractInvocationContext​(javax.inject.Provider<T> target,
                                         AccessibleObject member,
                                         Object[] parameters)
      • AbstractInvocationContext

        public AbstractInvocationContext​(javax.inject.Provider<T> target,
                                         Method method,
                                         Object[] parameters,
                                         Object timer)
    • Method Detail

      • getTarget

        public T getTarget()
        Specified by:
        getTarget in interface javax.interceptor.InvocationContext
      • getMethod

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

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

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

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

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

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

        public Constructor getConstructor()
        Specified by:
        getConstructor in interface javax.interceptor.InvocationContext