Class RequestScopeBean

java.lang.Object
org.glassfish.jersey.inject.cdi.se.RequestScopeBean
All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<CdiRequestScope>, jakarta.enterprise.inject.spi.Bean<CdiRequestScope>, jakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>

public class RequestScopeBean extends Object implements jakarta.enterprise.inject.spi.Bean<CdiRequestScope>
CDI Class Bean represents CdiRequestScope.
Author:
Petr Bouda
  • Constructor Details

    • RequestScopeBean

      public RequestScopeBean(jakarta.enterprise.inject.spi.BeanManager beanManager)
      Creates a new Jersey-specific Bean instance.
  • Method Details

    • isNullable

      public boolean isNullable()
    • create

      public CdiRequestScope create(jakarta.enterprise.context.spi.CreationalContext<CdiRequestScope> context)
      Specified by:
      create in interface jakarta.enterprise.context.spi.Contextual<CdiRequestScope>
    • destroy

      public void destroy(CdiRequestScope instance, jakarta.enterprise.context.spi.CreationalContext<CdiRequestScope> context)
      Specified by:
      destroy in interface jakarta.enterprise.context.spi.Contextual<CdiRequestScope>
    • getTypes

      public Set<Type> getTypes()
      Specified by:
      getTypes in interface jakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
    • getInjectionPoints

      public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
      Specified by:
      getInjectionPoints in interface jakarta.enterprise.inject.spi.Bean<CdiRequestScope>
    • getQualifiers

      public Set<Annotation> getQualifiers()
      Specified by:
      getQualifiers in interface jakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
    • getScope

      public Class<? extends Annotation> getScope()
      Specified by:
      getScope in interface jakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
    • getName

      public String getName()
      Specified by:
      getName in interface jakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
    • getStereotypes

      public Set<Class<? extends Annotation>> getStereotypes()
      Specified by:
      getStereotypes in interface jakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
    • isAlternative

      public boolean isAlternative()
      Specified by:
      isAlternative in interface jakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
    • getBeanClass

      public Class<?> getBeanClass()
      Specified by:
      getBeanClass in interface jakarta.enterprise.inject.spi.Bean<CdiRequestScope>