Interface IAnnotationDB

  • All Known Implementing Classes:
    ScannotationDB

    public interface IAnnotationDB
    IAnnotationDB is used to find annotation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getClassesName​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
      Finds the class having the given annotation
      java.util.Set<java.lang.String> getClassesName​(java.lang.String strAnnotationType)
      Finds classes having the given annotation
      void init()
      Initializes the database
    • Method Detail

      • init

        void init()
        Initializes the database
      • getClassesName

        java.util.Set<java.lang.String> getClassesName​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
        Finds the class having the given annotation
        Parameters:
        annotationType - the annotation
        Returns:
        classes found.
      • getClassesName

        java.util.Set<java.lang.String> getClassesName​(java.lang.String strAnnotationType)
        Finds classes having the given annotation
        Parameters:
        strAnnotationType - the annotation type name
        Returns:
        classes found.