Class ForwardingInvocationContext

java.lang.Object
org.jboss.weld.util.ForwardingInvocationContext
All Implemented Interfaces:
jakarta.interceptor.InvocationContext
Direct Known Subclasses:
WeldInvocationContextImpl

public abstract class ForwardingInvocationContext extends Object implements jakarta.interceptor.InvocationContext
Forwarding implementation of InvocationContext.
Author:
Jozef Hartinger
  • Constructor Details

    • ForwardingInvocationContext

      public ForwardingInvocationContext()
  • Method Details

    • delegate

      protected abstract jakarta.interceptor.InvocationContext delegate()
    • getTarget

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

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

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

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

      public void setParameters(Object[] params) throws IllegalStateException, IllegalArgumentException
      Specified by:
      setParameters in interface jakarta.interceptor.InvocationContext
      Throws:
      IllegalStateException
      IllegalArgumentException
    • 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
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object