Class AbstractInvocationContext<T>

java.lang.Object
org.apache.webbeans.intercept.AbstractInvocationContext<T>
All Implemented Interfaces:
jakarta.interceptor.InvocationContext
Direct Known Subclasses:
InterceptorInvocationContext

public abstract class AbstractInvocationContext<T> extends Object implements jakarta.interceptor.InvocationContext
  • Field Details

    • target

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

      protected Object[] parameters
  • Constructor Details

    • AbstractInvocationContext

      public AbstractInvocationContext(jakarta.inject.Provider<T> target, AccessibleObject member, Object[] parameters, Set<Annotation> interceptorBindings)
    • AbstractInvocationContext

      public AbstractInvocationContext(jakarta.inject.Provider<T> target, Method method, Object[] parameters, Object timer, Set<Annotation> interceptorBindings)
  • Method Details

    • getTarget

      public T 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[] parameters)
      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
    • directProceed

      public Object directProceed() throws Exception
      Throws:
      Exception
    • getConstructor

      public Constructor getConstructor()
      Specified by:
      getConstructor in interface jakarta.interceptor.InvocationContext
    • getInterceptorBindings

      public Set<Annotation> getInterceptorBindings()
      Specified by:
      getInterceptorBindings in interface jakarta.interceptor.InvocationContext