Package org.atmosphere.cpr
Interface AnnotationProcessor
- All Superinterfaces:
AtmosphereConfigAware
- All Known Implementing Classes:
DefaultAnnotationProcessor,VoidAnnotationProcessor
An annotation processor for configuring the
AtmosphereFramework.- Author:
- Jeanfrancois Arcand
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Destroy all resources associated with this object.Scan theFilelooking for classes annotated with Atmosphere's Service annotation.Scan the package looking for classes annotated with Atmosphere's Service annotation.scanAll()Scan all classes on the classpath looking for classes annotated with Atmosphere's Service annotation.Methods inherited from interface org.atmosphere.inject.AtmosphereConfigAware
configure
-
Method Details
-
scan
Scan theFilelooking for classes annotated with Atmosphere's Service annotation.- Parameters:
rootDir- a directory where annotation can possibly be defined- Returns:
- this
- Throws:
IOException
-
scan
Scan the package looking for classes annotated with Atmosphere's Service annotation.- Parameters:
packageName- package name- Returns:
- this
- Throws:
IOException
-
scanAll
Scan all classes on the classpath looking for classes annotated with Atmosphere's Service annotation.- Returns:
- this
- Throws:
IOException
-
destroy
void destroy()Destroy all resources associated with this object. Once destroyed, this object can no longer be used.
-