Class VoidAnnotationProcessor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(AtmosphereConfig config)
      Configure an AtmosphereFramework object.
      void destroy()
      Destroy all resources associated with this object.
      AnnotationProcessor scan​(java.io.File rootDir)
      Scan the File looking for classes annotated with Atmosphere's Service annotation.
      AnnotationProcessor scan​(java.lang.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VoidAnnotationProcessor

        public VoidAnnotationProcessor()
    • Method Detail

      • scan

        public AnnotationProcessor scan​(java.io.File rootDir)
                                 throws java.io.IOException
        Description copied from interface: AnnotationProcessor
        Scan the File looking for classes annotated with Atmosphere's Service annotation.
        Specified by:
        scan in interface AnnotationProcessor
        Parameters:
        rootDir - a directory where annotation can possibly be defined
        Returns:
        this
        Throws:
        java.io.IOException
      • scan

        public AnnotationProcessor scan​(java.lang.String packageName)
                                 throws java.io.IOException
        Description copied from interface: AnnotationProcessor
        Scan the package looking for classes annotated with Atmosphere's Service annotation.
        Specified by:
        scan in interface AnnotationProcessor
        Parameters:
        packageName - package name
        Returns:
        this
        Throws:
        java.io.IOException
      • scanAll

        public AnnotationProcessor scanAll()
                                    throws java.io.IOException
        Description copied from interface: AnnotationProcessor
        Scan all classes on the classpath looking for classes annotated with Atmosphere's Service annotation.
        Specified by:
        scanAll in interface AnnotationProcessor
        Returns:
        this
        Throws:
        java.io.IOException
      • destroy

        public void destroy()
        Description copied from interface: AnnotationProcessor
        Destroy all resources associated with this object. Once destroyed, this object can no longer be used.
        Specified by:
        destroy in interface AnnotationProcessor