public class VoidAnnotationProcessor extends Object implements AnnotationProcessor
AnnotationProcessor
that does nothing.Constructor and Description |
---|
VoidAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
configure(AtmosphereConfig config)
Configure an AtmosphereFramework object.
|
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.
|
public AnnotationProcessor scan(File rootDir) throws IOException
AnnotationProcessor
File
looking for classes annotated with Atmosphere's Service annotation.scan
in interface AnnotationProcessor
rootDir
- a directory where annotation can possibly be definedIOException
public AnnotationProcessor scan(String packageName) throws IOException
AnnotationProcessor
scan
in interface AnnotationProcessor
packageName
- package nameIOException
public AnnotationProcessor scanAll() throws IOException
AnnotationProcessor
scanAll
in interface AnnotationProcessor
IOException
public void destroy()
AnnotationProcessor
destroy
in interface AnnotationProcessor
public void configure(AtmosphereConfig config)
AtmosphereConfigAware
configure
in interface AtmosphereConfigAware
config
- AtmosphereConfig
Copyright © 2016. All rights reserved.