Uses of Interface
jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Package
Description
The build compatible extension SPI.
-
Uses of SyntheticObserverBuilder in jakarta.enterprise.inject.build.compatible.spi
Modifier and TypeMethodDescription<T> SyntheticObserverBuilder
<T> SyntheticComponents.addObserver
(Type eventType) Creates aSyntheticObserverBuilder
that allows configuring a new synthetic observer for giveneventType
.<T> SyntheticObserverBuilder
<T> SyntheticComponents.addObserver
(Class<T> eventType) Creates aSyntheticObserverBuilder
that allows configuring a new synthetic observer for giveneventType
.SyntheticObserverBuilder.async
(boolean isAsync) Marks this synthetic observer as asynchronous if desired.SyntheticObserverBuilder.declaringClass
(ClassInfo declaringClass) Sets the bean class that "declares" this synthetic observer.SyntheticObserverBuilder.declaringClass
(Class<?> declaringClass) Sets the bean class that "declares" this synthetic observer.SyntheticObserverBuilder.observeWith
(Class<? extends SyntheticObserver<T>> observerClass) Sets the class of the synthetic observer event notification function.SyntheticObserverBuilder.priority
(int priority) Sets a priority of this synthetic observer.SyntheticObserverBuilder.qualifier
(AnnotationInfo qualifierAnnotation) Adds given annotation to the set of qualifiers of this synthetic observer.SyntheticObserverBuilder.qualifier
(Annotation qualifierAnnotation) Adds given annotation to the set of qualifiers of this synthetic observer.SyntheticObserverBuilder.qualifier
(Class<? extends Annotation> annotationType) Adds a marker annotation of given type to the set of qualifiers of this synthetic observer.SyntheticObserverBuilder.transactionPhase
(TransactionPhase transactionPhase) Sets theTransactionPhase
during which this synthetic observer should be notified.Adds aboolean
-valued parameter to the parameter map.Adds aboolean
array-valued parameter to the parameter map.Adds adouble
-valued parameter to the parameter map.Adds adouble
array-valued parameter to the parameter map.Adds anint
-valued parameter to the parameter map.Adds anint
array-valued parameter to the parameter map.Adds along
-valued parameter to the parameter map.Adds along
array-valued parameter to the parameter map.SyntheticObserverBuilder.withParam
(String key, InvokerInfo value) Adds an invoker-valued parameter to the parameter map.SyntheticObserverBuilder.withParam
(String key, InvokerInfo[] value) Adds an invoker array-valued parameter to the parameter map.SyntheticObserverBuilder.withParam
(String key, AnnotationInfo value) Adds an annotation-valued parameter to the parameter map.SyntheticObserverBuilder.withParam
(String key, AnnotationInfo[] value) Adds an annotation array-valued parameter to the parameter map.Adds aClass
-valued parameter to the parameter map.Adds aClass
array-valued parameter to the parameter map.SyntheticObserverBuilder.withParam
(String key, Annotation value) Adds an annotation-valued parameter to the parameter map.SyntheticObserverBuilder.withParam
(String key, Annotation[] value) Adds an annotation array-valued parameter to the parameter map.Adds aClass
-valued parameter to the parameter map.Adds aClass
array-valued parameter to the parameter map.Adds an enum-valued parameter to the parameter map.Adds an enum array-valued parameter to the parameter map.Adds aString
-valued parameter to the parameter map.Adds aString
array-valued parameter to the parameter map.