Package org.atmosphere.util
Class VoidAnnotationProcessor
java.lang.Object
org.atmosphere.util.VoidAnnotationProcessor
- All Implemented Interfaces:
AnnotationProcessor,AtmosphereConfigAware
An
AnnotationProcessor that does nothing.- Author:
- Jeanfrancois Arcand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(AtmosphereConfig config) Configure an AtmosphereFramework object.voiddestroy()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.
-
Constructor Details
-
VoidAnnotationProcessor
public VoidAnnotationProcessor()
-
-
Method Details
-
scan
Description copied from interface:AnnotationProcessorScan theFilelooking for classes annotated with Atmosphere's Service annotation.- Specified by:
scanin interfaceAnnotationProcessor- Parameters:
rootDir- a directory where annotation can possibly be defined- Returns:
- this
-
scan
Description copied from interface:AnnotationProcessorScan the package looking for classes annotated with Atmosphere's Service annotation.- Specified by:
scanin interfaceAnnotationProcessor- Parameters:
packageName- package name- Returns:
- this
-
scanAll
Description copied from interface:AnnotationProcessorScan all classes on the classpath looking for classes annotated with Atmosphere's Service annotation.- Specified by:
scanAllin interfaceAnnotationProcessor- Returns:
- this
-
destroy
public void destroy()Description copied from interface:AnnotationProcessorDestroy all resources associated with this object. Once destroyed, this object can no longer be used.- Specified by:
destroyin interfaceAnnotationProcessor
-
configure
Description copied from interface:AtmosphereConfigAwareConfigure an AtmosphereFramework object.- Specified by:
configurein interfaceAtmosphereConfigAware- Parameters:
config-AtmosphereConfig
-