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(Annotation qualifier)
Add the qualifier to the observed event
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.addQualifiers(Annotation... qualifiers)
Add all the qualifiers to the Observed event
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.addQualifiers(Set<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(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(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(Annotation... qualifiers)
Replace all qualifiers on the Observed event.
|
ObserverMethodConfigurator<T> |
ObserverMethodConfigurator.qualifiers(Set<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(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 |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.