Package | Description |
---|---|
javax.enterprise.inject.spi |
The portable extension integration SPI.
|
javax.enterprise.inject.spi.configurator |
Modifier and Type | Method and Description |
---|---|
<T> ObserverMethodConfigurator<T> |
AfterBeanDiscovery.addObserverMethod()
obtains a new
ObserverMethodConfigurator to configure a new ObserverMethod and add it at the end of the observer invocation. |
ObserverMethodConfigurator<T> |
ProcessObserverMethod.configureObserverMethod()
Returns a
ObserverMethodConfigurator initialized with the ObserverMethod processed by this event,
to configure a new ObserverMethod that will replace the original one at the end of the observer invocation. |
Modifier and Type | Method and Description |
---|---|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.addQualifier(java.lang.annotation.Annotation qualifier)
Add the qualifier to the observed event
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.addQualifiers(java.lang.annotation.Annotation... qualifiers)
Add all the qualifiers to the Observed event
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.addQualifiers(java.util.Set<java.lang.annotation.Annotation> qualifiers)
Add all the qualifiers to the Observed event
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.async(boolean async)
Allows modification of the asynchronous status of the observer to build.
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.beanClass(java.lang.Class<?> type)
Set the class of the Bean containing this observer.
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.notifyWith(ObserverMethodConfigurator.EventConsumer<T> callback)
Define an operation that accepts a context of a fired event.
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.observedType(java.lang.reflect.Type type)
Set the type of the observed event
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.priority(int priority)
Set the priority for the observer to build
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.qualifiers(java.lang.annotation.Annotation... qualifiers)
Replace all qualifiers on the Observed event.
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.qualifiers(java.util.Set<java.lang.annotation.Annotation> qualifiers)
Replace all qualifiers on the Observed event.
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.read(AnnotatedMethod<?> method)
Read observer meta data from a existing
AnnotatedMethod |
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.read(java.lang.reflect.Method method)
Read observer meta data from a existing
Method |
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.read(ObserverMethod<T> method)
Read observer meta data from a existing ObserverMethod
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.reception(Reception reception)
Set the
Reception mode for the observer to build |
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.transactionPhase(TransactionPhase transactionPhase)
Set the
TransactionPhase for the observer to build |