Class ForwardingContext

java.lang.Object
org.jboss.weld.util.ForwardingContext
All Implemented Interfaces:
jakarta.enterprise.context.spi.Context

public abstract class ForwardingContext extends Object implements jakarta.enterprise.context.spi.Context
Forwarding implementation of Context
Author:
Jozef Hartinger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract jakarta.enterprise.context.spi.Context
     
    boolean
     
    <T> T
    get(jakarta.enterprise.context.spi.Contextual<T> contextual)
     
    <T> T
    get(jakarta.enterprise.context.spi.Contextual<T> contextual, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
     
    Class<? extends Annotation>
     
    int
     
    boolean
     
     
    static jakarta.enterprise.context.spi.Context
    unwrap(jakarta.enterprise.context.spi.Context context)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ForwardingContext

      public ForwardingContext()
  • Method Details

    • delegate

      protected abstract jakarta.enterprise.context.spi.Context delegate()
    • getScope

      public Class<? extends Annotation> getScope()
      Specified by:
      getScope in interface jakarta.enterprise.context.spi.Context
    • get

      public <T> T get(jakarta.enterprise.context.spi.Contextual<T> contextual, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
      Specified by:
      get in interface jakarta.enterprise.context.spi.Context
    • get

      public <T> T get(jakarta.enterprise.context.spi.Contextual<T> contextual)
      Specified by:
      get in interface jakarta.enterprise.context.spi.Context
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface jakarta.enterprise.context.spi.Context
    • 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
    • unwrap

      public static jakarta.enterprise.context.spi.Context unwrap(jakarta.enterprise.context.spi.Context context)