Uses of Interface
jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Package
Description
The portable extension integration SPI.
-
Uses of ObserverMethodConfigurator in jakarta.enterprise.inject.spi
Modifier and TypeMethodDescription<T> ObserverMethodConfigurator
<T> AfterBeanDiscovery.addObserverMethod()
obtains a newObserverMethodConfigurator
to configure a newObserverMethod
and add it at the end of the observer invocation.ProcessObserverMethod.configureObserverMethod()
Returns aObserverMethodConfigurator
initialized with theObserverMethod
processed by this event, to configure a new ObserverMethod that will replace the original one at the end of the observer invocation. -
Uses of ObserverMethodConfigurator in jakarta.enterprise.inject.spi.configurator
Modifier and TypeMethodDescriptionObserverMethodConfigurator.addQualifier
(Annotation qualifier) Add the qualifier to the observed eventObserverMethodConfigurator.addQualifiers
(Annotation... qualifiers) Add all the qualifiers to the Observed eventObserverMethodConfigurator.addQualifiers
(Set<Annotation> qualifiers) Add all the qualifiers to the Observed eventObserverMethodConfigurator.async
(boolean async) Allows modification of the asynchronous status of the observer to build.Set the class of the Bean containing this observer.ObserverMethodConfigurator.notifyWith
(ObserverMethodConfigurator.EventConsumer<T> callback) Define an operation that accepts a context of a fired event.ObserverMethodConfigurator.observedType
(Type type) Set the type of the observed eventObserverMethodConfigurator.priority
(int priority) Set the priority for the observer to buildObserverMethodConfigurator.qualifiers
(Annotation... qualifiers) Replace all qualifiers on the Observed event.ObserverMethodConfigurator.qualifiers
(Set<Annotation> qualifiers) Replace all qualifiers on the Observed event.ObserverMethodConfigurator.read
(AnnotatedMethod<?> method) Read observer meta data from a existingAnnotatedMethod
ObserverMethodConfigurator.read
(ObserverMethod<T> method) Read observer meta data from a existing ObserverMethodRead observer meta data from a existingMethod
Set theReception
mode for the observer to buildObserverMethodConfigurator.transactionPhase
(TransactionPhase transactionPhase) Set theTransactionPhase
for the observer to build