public interface AnnotationProcessor extends AtmosphereConfigAware
AtmosphereFramework
.Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy all resources associated with this object.
|
AnnotationProcessor |
scan(File rootDir)
Scan the
File looking for classes annotated with Atmosphere's Service annotation. |
AnnotationProcessor |
scan(String packageName)
Scan the package looking for classes annotated with Atmosphere's Service annotation.
|
AnnotationProcessor |
scanAll()
Scan all classes on the classpath looking for classes annotated with Atmosphere's Service annotation.
|
configure
AnnotationProcessor scan(File rootDir) throws IOException
File
looking for classes annotated with Atmosphere's Service annotation.rootDir
- a directory where annotation can possibly be definedIOException
AnnotationProcessor scan(String packageName) throws IOException
packageName
- package nameIOException
AnnotationProcessor scanAll() throws IOException
IOException
void destroy()
Copyright © 2016. All rights reserved.