Class CdiComponentProvider.JaxRsParamProducer
- java.lang.Object
-
- org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.JaxRsParamProducer
-
- Enclosing class:
- CdiComponentProvider
@ApplicationScoped public static class CdiComponentProvider.JaxRsParamProducer extends Object
CDI producer for CDI bean constructor String parameters, that should be injected by JAX-RS.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCdiComponentProvider.JaxRsParamProducer.JaxRsParamQualifier
-
Constructor Summary
Constructors Constructor Description JaxRsParamProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetParameterValue(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint, jakarta.enterprise.inject.spi.BeanManager beanManager)Provide a value for given injection point.
-
-
-
Method Detail
-
getParameterValue
@Produces public String getParameterValue(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint, jakarta.enterprise.inject.spi.BeanManager beanManager)
Provide a value for given injection point. If the injection point does not refer to a CDI bean constructor parameter, or the value could not be found, the method will return null.- Parameters:
injectionPoint- actual injection point.beanManager- current application bean manager.- Returns:
- concrete JAX-RS parameter value for given injection point.
-
-