com.caucho.config.extension
Class ExtensionManager

java.lang.Object
  extended by com.caucho.config.extension.ExtensionManager

@Module
public class ExtensionManager
extends java.lang.Object

Manages custom extensions for the inject manager.


Constructor Summary
ExtensionManager(InjectManager cdiManager)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensionManager

public ExtensionManager(InjectManager cdiManager)
Method Detail

updateExtensions

public void updateExtensions()

createExtension

public void createExtension(java.lang.String className)

addExtension

public void addExtension(Extension ext)

processBean

public <T> Bean<T> processBean(Bean<T> bean,
                               ProcessBean<T> processBean)

processBean

@Module
public <T> Bean<T> processBean(Bean<T> bean,
                                      Annotated ann)

processManagedBean

@Module
public <T> Bean<T> processManagedBean(ManagedBeanImpl<T> bean,
                                             Annotated ann)

processProducerMethod

@Module
public <T,X> Bean<X> processProducerMethod(ProducesMethodBean<T,X> bean)

processProducerField

@Module
public <T,X> Bean<X> processProducerField(ProducesFieldBean<T,X> bean)

processPendingEvents

public void processPendingEvents()

processInjectionTarget

public <T> InjectionTarget<T> processInjectionTarget(InjectionTarget<T> target,
                                                     AnnotatedType<T> annotatedType)
Processes the discovered InjectionTarget


processProducer

public <X,T> Producer<T> processProducer(AnnotatedMethod<X> producesMethod,
                                         Producer<T> producer)
Processes the discovered method producer


processProducer

public <X,T> Producer<T> processProducer(AnnotatedField<X> producesField,
                                         Producer<T> producer)
Processes the discovered method producer


processObserver

public <T,X> void processObserver(ObserverMethod<T> observer,
                                  AnnotatedMethod<X> method)
Processes the observer.


fireBeforeBeanDiscovery

public void fireBeforeBeanDiscovery()

fireAfterBeanDiscovery

public void fireAfterBeanDiscovery()

fireAfterDeploymentValidation

public void fireAfterDeploymentValidation()

processAnnotatedType

public <T> AnnotatedType<T> processAnnotatedType(AnnotatedType<T> type)
Creates a discovered annotated type.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object