@Module public class ExtensionManager extends java.lang.Object
Constructor and Description |
---|
ExtensionManager(InjectManager cdiManager) |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(Extension ext) |
void |
createExtension(java.lang.String className) |
void |
fireAfterBeanDiscovery() |
void |
fireAfterDeploymentValidation() |
void |
fireBeforeBeanDiscovery() |
<T> AnnotatedType<T> |
processAnnotatedType(AnnotatedType<T> type)
Creates a discovered annotated type.
|
<T> Bean<T> |
processBean(Bean<T> bean,
Annotated ann) |
<T> Bean<T> |
processBean(Bean<T> bean,
ProcessBean<T> processBean) |
<T> InjectionTarget<T> |
processInjectionTarget(InjectionTarget<T> target,
AnnotatedType<T> annotatedType)
Processes the discovered InjectionTarget
|
<T> Bean<T> |
processManagedBean(ManagedBeanImpl<T> bean,
Annotated ann) |
<T,X> void |
processObserver(ObserverMethod<T> observer,
AnnotatedMethod<X> method)
Processes the observer.
|
void |
processPendingEvents() |
<X,T> Producer<T> |
processProducer(AnnotatedField<X> producesField,
Producer<T> producer)
Processes the discovered method producer
|
<X,T> Producer<T> |
processProducer(AnnotatedMethod<X> producesMethod,
Producer<T> producer)
Processes the discovered method producer
|
<T,X> Bean<X> |
processProducerField(ProducesFieldBean<T,X> bean) |
<T,X> Bean<X> |
processProducerMethod(ProducesMethodBean<T,X> bean) |
java.lang.String |
toString() |
void |
updateExtensions() |
public ExtensionManager(InjectManager cdiManager)
public void updateExtensions()
public void createExtension(java.lang.String className)
public void addExtension(Extension ext)
public <T> Bean<T> processBean(Bean<T> bean, ProcessBean<T> processBean)
@Module public <T> Bean<T> processManagedBean(ManagedBeanImpl<T> bean, Annotated ann)
@Module public <T,X> Bean<X> processProducerMethod(ProducesMethodBean<T,X> bean)
@Module public <T,X> Bean<X> processProducerField(ProducesFieldBean<T,X> bean)
public void processPendingEvents()
public <T> InjectionTarget<T> processInjectionTarget(InjectionTarget<T> target, AnnotatedType<T> annotatedType)
public <X,T> Producer<T> processProducer(AnnotatedMethod<X> producesMethod, Producer<T> producer)
public <X,T> Producer<T> processProducer(AnnotatedField<X> producesField, Producer<T> producer)
public <T,X> void processObserver(ObserverMethod<T> observer, AnnotatedMethod<X> method)
public void fireBeforeBeanDiscovery()
public void fireAfterBeanDiscovery()
public void fireAfterDeploymentValidation()
public <T> AnnotatedType<T> processAnnotatedType(AnnotatedType<T> type)
public java.lang.String toString()
toString
in class java.lang.Object