@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Observes
Optional attributes are used to indicate:
Any by default);
Observes.Kind.critical to the client. Non critical
methods may be Observes.Kind.resilient or Observes.Kind.safe (the default), depending on whether they should or should
not execute after previous critical failures;
Hub| Modifier and Type | Optional Element and Description |
|---|---|
long |
every
The minimum duration in milliseconds between the delivery of two subsequent events.
|
Observes.Kind |
kind
The kind of the observer
Observes.Kind.safe by default. |
String[] |
value
The event qualifiers.
|
public static final String Any
public abstract Observes.Kind kind
Observes.Kind.safe by default.Copyright © 2020. All Rights Reserved.