SyntheticComponents#addObserver(Class)
or SyntheticComponents#addObserver(Type).
| Modifier and Type | Method and Description |
|---|---|
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderwhether this synthetic observer should be asynchronous isAsync)Marks this synthetic observer as asynchronous if desired. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderbean class that "declares" this synthetic observer, must not be declaringClass)nullSets the bean class that "declares" this synthetic observer. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderbean class that "declares" this synthetic observer, must not be declaringClass)nullSets the bean class that "declares" this synthetic observer. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe event notification function class, must not be observerClass)nullSets the class of the synthetic observer event notification function. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe priority of this synthetic observer priority)Sets a priority of this synthetic observer. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe type of the marker annotation, must not be annotationType)nullAdds a marker annotation of given type to the set of qualifiers of this synthetic observer. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe annotation, must not be qualifierAnnotation)nullAdds given annotation to the set of qualifiers of this synthetic observer. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe annotation, must not be qualifierAnnotation)nullAdds given annotation to the set of qualifiers of this synthetic observer. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe transactionPhase)TransactionPhase, must not be nullSets the |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe parameter key, must not be key, AnnotationInfo nullthe parameter value value)Adds an annotation-valued parameter to the parameter map. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe parameter key, must not be key, Annotation nullthe parameter value value)Adds an annotation-valued parameter to the parameter map. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe parameter key, must not be key, AnnotationInfo[] nullthe parameter value value)Adds an annotation array-valued parameter to the parameter map. |
| public SyntheticObserverBuilder | Returns: thisSyntheticObserverBuilderthe parameter key, must not be key, Annotation[] nullthe parameter value value)Adds an annotation array-valued parameter to the parameter map. |
| async | back to summary |
|---|---|
| public SyntheticObserverBuilder Marks this synthetic observer as asynchronous if desired. If not called, this synthetic observer will not be asynchronous.
| |
| declaringClass | back to summary |
|---|---|
| public SyntheticObserverBuilder Sets the bean class that "declares" this synthetic observer. If not called, the class declaring the extension which creates this synthetic observer is used.
| |
| declaringClass | back to summary |
|---|---|
| public SyntheticObserverBuilder Sets the bean class that "declares" this synthetic observer. If not called, the class declaring the extension which creates this synthetic observer is used.
| |
| observeWith | back to summary |
|---|---|
| public SyntheticObserverBuilder Sets the class of the synthetic observer event notification function.
CDI container will create an instance of the event notification function every time when it needs
to notify the synthetic observer. The class must be If not called, the synthetic observer registration will fail.
| |
| priority | back to summary |
|---|---|
| public SyntheticObserverBuilder Sets a priority of this synthetic observer.
If not called, this synthetic observer will have a default priority
of
| |
| qualifier | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a marker annotation of given type to the set of qualifiers of this synthetic observer. This method may be called multiple times to add multiple qualifiers. If not called, this synthetic observer will have no qualifier.
| |
| qualifier | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds given annotation to the set of qualifiers of this synthetic observer. This method may be called multiple times to add multiple qualifiers. If not called, this synthetic observer will have no qualifier.
| |
| qualifier | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds given annotation to the set of qualifiers of this synthetic observer. This method may be called multiple times to add multiple qualifiers. If not called, this synthetic observer will have no qualifier.
| |
| transactionPhase | back to summary |
|---|---|
| public SyntheticObserverBuilder Sets the
If not called, this synthetic observer will not be a transactional observer.
In other words, the default is Note that transactional observers cannot be asynchronous. If this synthetic observer is configured to be both transactional and asynchronous, its registration will fail.
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds an
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds an
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds an enum-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds an enum array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
When looked up from the parameter map in the event notification function, the value will be
an instance of
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds a
When looked up from the parameter map in the event notification function, the values will be
instances of
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds an annotation-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
When looked up from the parameter map in the event notification function, the value will be
an instance of the annotation type, not an
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds an annotation-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds an annotation array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
When looked up from the parameter map in the event notification function, the values will be
instances of the corresponding annotation types, not
| |
| withParam | back to summary |
|---|---|
| public SyntheticObserverBuilder Adds an annotation array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
| |