|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.cpr.DefaultAnnotationProcessor
public class DefaultAnnotationProcessor
An AnnotationProcessor that selects between a ServletContextInitializer based scanner, and
a bytecode based scanner based on
| Field Summary | |
|---|---|
static String |
ANNOTATION_ATTRIBUTE
The attribute name under which the annotations are stored in the servlet context |
| Constructor Summary | |
|---|---|
DefaultAnnotationProcessor()
|
|
| Method Summary | |
|---|---|
AnnotationProcessor |
configure(AtmosphereFramework framework)
Configure this class with an instance of AtmosphereFramework |
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 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 |
|---|
public static final String ANNOTATION_ATTRIBUTE
| Constructor Detail |
|---|
public DefaultAnnotationProcessor()
| Method Detail |
|---|
public AnnotationProcessor configure(AtmosphereFramework framework)
AnnotationProcessorAtmosphereFramework
configure in interface AnnotationProcessor
public AnnotationProcessor scan(File rootDir)
throws IOException
AnnotationProcessorFile looking for classes annotated with Atmosphere's Service annotation.
scan in interface AnnotationProcessorIOException
public AnnotationProcessor scan(String packageName)
throws IOException
AnnotationProcessorFile looking for classes annotated with Atmosphere's Service annotation.
scan in interface AnnotationProcessorIOExceptionpublic void destroy()
AnnotationProcessor
destroy in interface AnnotationProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||