Package org.atmosphere.config
Annotation Interface AtmosphereAnnotation
This annotation is scanned by Atmosphere at runtime to determine
Processor implementation.
Application that wants to define their own annotation can annotate their class with this annotation.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends Annotation> Return the handled annotation associated with theProcessor -
Optional Element Summary
Optional Elements
-
Element Details
-
value
Class<? extends Annotation> valueReturn the handled annotation associated with theProcessor -
priority
int priorityProcessing priority. Processors with lower priority run first during annotation scanning. Processors with priority > 0 are deferred until all default-priority (0) processors complete, then executed in order.This ensures dependencies between processors are respected. For example, a coordinator processor (priority 100) runs after agent processors (priority 0) so that agent endpoints are registered before the coordinator resolves its fleet.
- Returns:
- the priority, default 0 (immediate processing)
- Default:
0
-