org.atmosphere.cpr
Class AnnotationHandler

java.lang.Object
  extended by org.atmosphere.cpr.AnnotationHandler

public class AnnotationHandler
extends Object

A 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
AnnotationHandler()
           
 
Method Summary
 void destroy()
           
 AnnotationHandler handleAnnotation(AtmosphereFramework framework, Class<? extends Annotation> annotation, Class<?> discoveredClass)
           
 Class<? extends Annotation>[] handledClass()
           
 Class<? extends Processor> handleProcessor(Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationHandler

public AnnotationHandler()
Method Detail

handleProcessor

public Class<? extends Processor> handleProcessor(Class<?> clazz)

handledClass

public Class<? extends Annotation>[] handledClass()

handleAnnotation

public AnnotationHandler handleAnnotation(AtmosphereFramework framework,
                                          Class<? extends Annotation> annotation,
                                          Class<?> discoveredClass)

destroy

public void destroy()


Copyright © 2013. All Rights Reserved.