Package org.atmosphere.cpr
Class AnnotationHandler
- java.lang.Object
-
- org.atmosphere.cpr.AnnotationHandler
-
public class AnnotationHandler extends java.lang.ObjectA class that handles the results of an annotation scan. This class contains the logic that maps an annotation type to the corresponding framework setup.- Author:
- Stuart Douglas, Jeanfrancois Arcand
-
-
Constructor Summary
Constructors Constructor Description AnnotationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()AnnotationHandlerflushCoreAnnotations(java.util.Set<java.lang.Class<?>> classes)AnnotationHandlerhandleAnnotation(AtmosphereFramework framework, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, java.lang.Class<?> discoveredClass)java.lang.Class[]handledClass()java.lang.Class<? extends Processor>handleProcessor(java.lang.Class<?> clazz)
-
-
-
Method Detail
-
flushCoreAnnotations
public AnnotationHandler flushCoreAnnotations(java.util.Set<java.lang.Class<?>> classes)
-
handleProcessor
public java.lang.Class<? extends Processor> handleProcessor(java.lang.Class<?> clazz)
-
handledClass
public java.lang.Class[] handledClass()
-
handleAnnotation
public AnnotationHandler handleAnnotation(AtmosphereFramework framework, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, java.lang.Class<?> discoveredClass)
-
destroy
public void destroy()
-
-