Interface AnnotationProcessor

All Superinterfaces:
AtmosphereConfigAware
All Known Implementing Classes:
DefaultAnnotationProcessor, VoidAnnotationProcessor

public interface AnnotationProcessor extends AtmosphereConfigAware
An annotation processor for configuring the AtmosphereFramework.
Author:
Jeanfrancois Arcand
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Destroy all resources associated with this object.
    scan(File rootDir)
    Scan the File looking for classes annotated with Atmosphere's Service annotation.
    scan(String packageName)
    Scan the package looking for classes annotated with Atmosphere's Service annotation.
    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

      AnnotationProcessor scan(File rootDir) throws IOException
      Scan the File looking for classes annotated with Atmosphere's Service annotation.
      Parameters:
      rootDir - a directory where annotation can possibly be defined
      Returns:
      this
      Throws:
      IOException
    • scan

      AnnotationProcessor scan(String packageName) throws IOException
      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.