Package org.apache.struts2.convention
Class DefaultClassFinder
java.lang.Object
org.apache.struts2.convention.DefaultClassFinder
- All Implemented Interfaces:
ClassFinder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassNested classes/interfaces inherited from interface org.apache.struts2.util.finder.ClassFinder
ClassFinder.Annotatable, ClassFinder.AnnotationInfo, ClassFinder.ClassInfo, ClassFinder.FieldInfo, ClassFinder.Info, ClassFinder.MethodInfo, ClassFinder.PackageInfo -
Constructor Summary
ConstructorsConstructorDescriptionDefaultClassFinder(ClassLoaderInterface classLoaderInterface, Collection<URL> urls, boolean extractBaseInterfaces, Set<String> protocols, Test<String> classNameFilter) -
Method Summary
Modifier and TypeMethodDescriptionfindAnnotatedClasses(Class<? extends Annotation> annotation) List<Constructor<?>>findAnnotatedConstructors(Class<? extends Annotation> annotation) findAnnotatedFields(Class<? extends Annotation> annotation) findAnnotatedMethods(Class<? extends Annotation> annotation) findAnnotatedPackages(Class<? extends Annotation> annotation) findClasses(Test<ClassFinder.ClassInfo> test) findClassesInPackage(String packageName, boolean recursive) booleanisAnnotationPresent(Class<? extends Annotation> annotation)
-
Constructor Details
-
DefaultClassFinder
public DefaultClassFinder(ClassLoaderInterface classLoaderInterface, Collection<URL> urls, boolean extractBaseInterfaces, Set<String> protocols, Test<String> classNameFilter)
-
-
Method Details
-
getClassLoaderInterface
- Specified by:
getClassLoaderInterfacein interfaceClassFinder
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceClassFinder
-
getClassesNotLoaded
- Specified by:
getClassesNotLoadedin interfaceClassFinder
-
findAnnotatedPackages
- Specified by:
findAnnotatedPackagesin interfaceClassFinder
-
findAnnotatedClasses
- Specified by:
findAnnotatedClassesin interfaceClassFinder
-
findAnnotatedMethods
- Specified by:
findAnnotatedMethodsin interfaceClassFinder
-
findAnnotatedConstructors
- Specified by:
findAnnotatedConstructorsin interfaceClassFinder
-
findAnnotatedFields
- Specified by:
findAnnotatedFieldsin interfaceClassFinder
-
findClassesInPackage
- Specified by:
findClassesInPackagein interfaceClassFinder
-
findClasses
- Specified by:
findClassesin interfaceClassFinder
-
findClasses
- Specified by:
findClassesin interfaceClassFinder
-