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 Summary
ConstructorDescriptionRequestScopeBean
(jakarta.enterprise.inject.spi.BeanManager beanManager) Creates a new Jersey-specificBean
instance. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(jakarta.enterprise.context.spi.CreationalContext<CdiRequestScope> context) void
destroy
(CdiRequestScope instance, jakarta.enterprise.context.spi.CreationalContext<CdiRequestScope> context) Class<?>
Set<jakarta.enterprise.inject.spi.InjectionPoint>
getName()
Class<? extends Annotation>
getScope()
Set<Class<? extends Annotation>>
getTypes()
boolean
boolean
-
Constructor Details
-
RequestScopeBean
public RequestScopeBean(jakarta.enterprise.inject.spi.BeanManager beanManager) Creates a new Jersey-specificBean
instance.
-
-
Method Details
-
isNullable
public boolean isNullable() -
create
public CdiRequestScope create(jakarta.enterprise.context.spi.CreationalContext<CdiRequestScope> context) - Specified by:
create
in interfacejakarta.enterprise.context.spi.Contextual<CdiRequestScope>
-
destroy
public void destroy(CdiRequestScope instance, jakarta.enterprise.context.spi.CreationalContext<CdiRequestScope> context) - Specified by:
destroy
in interfacejakarta.enterprise.context.spi.Contextual<CdiRequestScope>
-
getTypes
- Specified by:
getTypes
in interfacejakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
-
getInjectionPoints
- Specified by:
getInjectionPoints
in interfacejakarta.enterprise.inject.spi.Bean<CdiRequestScope>
-
getQualifiers
- Specified by:
getQualifiers
in interfacejakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
-
getScope
- Specified by:
getScope
in interfacejakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
-
getName
- Specified by:
getName
in interfacejakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
-
getStereotypes
- Specified by:
getStereotypes
in interfacejakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
-
isAlternative
public boolean isAlternative()- Specified by:
isAlternative
in interfacejakarta.enterprise.inject.spi.BeanAttributes<CdiRequestScope>
-
getBeanClass
- Specified by:
getBeanClass
in interfacejakarta.enterprise.inject.spi.Bean<CdiRequestScope>
-