org.atmosphere.cpr
Class DefaultAnnotationProcessor

java.lang.Object
  extended by org.atmosphere.cpr.DefaultAnnotationProcessor
All Implemented Interfaces:
AnnotationProcessor

public class DefaultAnnotationProcessor
extends Object
implements AnnotationProcessor

An AnnotationProcessor based on

Author:
Jeanfrancois Arcand

Field Summary
protected  eu.infomas.annotation.AnnotationDetector detector
           
 
Constructor Summary
DefaultAnnotationProcessor()
           
 
Method Summary
 AnnotationProcessor configure(AtmosphereFramework framework)
          Configure this class with an instance of AtmosphereFramework
 AnnotationProcessor scan(File rootDir)
          Scan the File looking for classe annotated with Atmosphere's Service annotation.
 AnnotationProcessor scan(String packageName)
          Scan the File looking for classes annotated with Atmosphere's Service annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

detector

protected eu.infomas.annotation.AnnotationDetector detector
Constructor Detail

DefaultAnnotationProcessor

public DefaultAnnotationProcessor()
Method Detail

configure

public AnnotationProcessor configure(AtmosphereFramework framework)
Description copied from interface: AnnotationProcessor
Configure this class with an instance of AtmosphereFramework

Specified by:
configure in interface AnnotationProcessor
Returns:
this

scan

public AnnotationProcessor scan(File rootDir)
                         throws IOException
Description copied from interface: AnnotationProcessor
Scan the File looking for classe annotated with Atmosphere's Service annotation.

Specified by:
scan in interface AnnotationProcessor
Returns:
this
Throws:
IOException

scan

public AnnotationProcessor scan(String packageName)
                         throws IOException
Description copied from interface: AnnotationProcessor
Scan the File looking for classes annotated with Atmosphere's Service annotation.

Specified by:
scan in interface AnnotationProcessor
Returns:
this
Throws:
IOException


Copyright © 2013. All Rights Reserved.