|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Observes
Identifies callback methods in event observers.
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| Optional Element Summary | |
|---|---|
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 abstract String[] value
Any by default.public abstract Observes.Kind kind
Observes.Kind.safe by default.
public abstract long every
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||