Class DefaultClassFinder

java.lang.Object
org.apache.struts2.convention.DefaultClassFinder
All Implemented Interfaces:
com.opensymphony.xwork2.util.finder.ClassFinder

public class DefaultClassFinder extends Object implements com.opensymphony.xwork2.util.finder.ClassFinder
  • Constructor Details

    • DefaultClassFinder

      public DefaultClassFinder(com.opensymphony.xwork2.util.finder.ClassLoaderInterface classLoaderInterface, Collection<URL> urls, boolean extractBaseInterfaces, Set<String> protocols, com.opensymphony.xwork2.util.finder.Test<String> classNameFilter)
  • Method Details

    • getClassLoaderInterface

      public com.opensymphony.xwork2.util.finder.ClassLoaderInterface getClassLoaderInterface()
      Specified by:
      getClassLoaderInterface in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • isAnnotationPresent

      public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
      Specified by:
      isAnnotationPresent in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • getClassesNotLoaded

      public List<String> getClassesNotLoaded()
      Specified by:
      getClassesNotLoaded in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • findAnnotatedPackages

      public List<Package> findAnnotatedPackages(Class<? extends Annotation> annotation)
      Specified by:
      findAnnotatedPackages in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • findAnnotatedClasses

      public List<Class<?>> findAnnotatedClasses(Class<? extends Annotation> annotation)
      Specified by:
      findAnnotatedClasses in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • findAnnotatedMethods

      public List<Method> findAnnotatedMethods(Class<? extends Annotation> annotation)
      Specified by:
      findAnnotatedMethods in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • findAnnotatedConstructors

      public List<Constructor<?>> findAnnotatedConstructors(Class<? extends Annotation> annotation)
      Specified by:
      findAnnotatedConstructors in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • findAnnotatedFields

      public List<Field> findAnnotatedFields(Class<? extends Annotation> annotation)
      Specified by:
      findAnnotatedFields in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • findClassesInPackage

      public List<Class<?>> findClassesInPackage(String packageName, boolean recursive)
      Specified by:
      findClassesInPackage in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • findClasses

      public List<Class<?>> findClasses(com.opensymphony.xwork2.util.finder.Test<com.opensymphony.xwork2.util.finder.ClassFinder.ClassInfo> test)
      Specified by:
      findClasses in interface com.opensymphony.xwork2.util.finder.ClassFinder
    • findClasses

      public List<Class<?>> findClasses()
      Specified by:
      findClasses in interface com.opensymphony.xwork2.util.finder.ClassFinder