public class JAXRSCdiResourceExtension extends Object implements javax.enterprise.inject.spi.Extension
Constructor and Description |
---|
JAXRSCdiResourceExtension() |
Modifier and Type | Method and Description |
---|---|
<T> void |
collect(javax.enterprise.inject.spi.ProcessBean<T> event,
javax.enterprise.inject.spi.BeanManager beanManager) |
<T,X> void |
collect(javax.enterprise.inject.spi.ProcessProducerField<T,X> event) |
<T,X> void |
collect(javax.enterprise.inject.spi.ProcessProducerMethod<T,X> event) |
<X> void |
convertContextsToCdi(javax.enterprise.inject.spi.ProcessAnnotatedType<X> processAnnotatedType)
For any
AnnotatedType that includes a Context injection point, this method replaces
the field with the following code: |
static Set<Class<?>> |
getCustomContextClasses() |
Collection<String> |
getExistingStandardClasses() |
void |
injectBus(javax.enterprise.inject.spi.AfterBeanDiscovery event,
javax.enterprise.inject.spi.BeanManager beanManager) |
void |
load(javax.enterprise.inject.spi.AfterDeploymentValidation event,
javax.enterprise.inject.spi.BeanManager beanManager) |
void |
registerCreationalContextForDisposal(DisposableCreationalContext event)
Registers created CreationalContext instances for disposal
|
void |
release(javax.enterprise.inject.spi.BeforeShutdown event)
Releases created CreationalContext instances
|
public Collection<String> getExistingStandardClasses()
public <X> void convertContextsToCdi(@Observes javax.enterprise.inject.spi.ProcessAnnotatedType<X> processAnnotatedType)
AnnotatedType
that includes a Context
injection point, this method replaces
the field with the following code:
X
- the generic type of that processAnnotatedTypeprocessAnnotatedType
- the annotated type being investigatedpublic <T> void collect(@Observes javax.enterprise.inject.spi.ProcessBean<T> event, javax.enterprise.inject.spi.BeanManager beanManager)
public <T,X> void collect(@Observes javax.enterprise.inject.spi.ProcessProducerField<T,X> event)
public <T,X> void collect(@Observes javax.enterprise.inject.spi.ProcessProducerMethod<T,X> event)
public void load(@Observes javax.enterprise.inject.spi.AfterDeploymentValidation event, javax.enterprise.inject.spi.BeanManager beanManager)
public void injectBus(@Observes javax.enterprise.inject.spi.AfterBeanDiscovery event, javax.enterprise.inject.spi.BeanManager beanManager)
public void registerCreationalContextForDisposal(@Observes DisposableCreationalContext event)
public void release(@Observes javax.enterprise.inject.spi.BeforeShutdown event)
Apache CXF