Package org.atmosphere.cpr
Class AtmosphereAnnotations
java.lang.Object
org.atmosphere.cpr.AtmosphereAnnotations
Single source of truth for all Atmosphere annotation types and their processor mappings.
All modules that need the list of core Atmosphere annotations should reference this
class rather than maintaining their own copy. The one exception is
AnnotationScanningServletContainerInitializer whose @HandlesTypes
annotation requires compile-time class literals and cannot delegate to a runtime list.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the fully-qualified class names of all core Atmosphere annotations.static List<Class<? extends Annotation>> Returns the unmodifiable list of all core Atmosphere annotation types.
-
Method Details
-
coreAnnotations
Returns the unmodifiable list of all core Atmosphere annotation types.- Returns:
- the core annotations
-
coreAnnotationNames
Returns the fully-qualified class names of all core Atmosphere annotations. Useful for modules that work with string-based annotation names (e.g. JandexDotName).- Returns:
- the core annotation names
-