Package org.apache.struts2.convention
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
Nested classes/interfaces inherited from interface com.opensymphony.xwork2.util.finder.ClassFinder
com.opensymphony.xwork2.util.finder.ClassFinder.Annotatable, com.opensymphony.xwork2.util.finder.ClassFinder.AnnotationInfo, com.opensymphony.xwork2.util.finder.ClassFinder.ClassInfo, com.opensymphony.xwork2.util.finder.ClassFinder.FieldInfo, com.opensymphony.xwork2.util.finder.ClassFinder.Info, com.opensymphony.xwork2.util.finder.ClassFinder.MethodInfo, com.opensymphony.xwork2.util.finder.ClassFinder.PackageInfo
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultClassFinder
(com.opensymphony.xwork2.util.finder.ClassLoaderInterface classLoaderInterface, Collection<URL> urls, boolean extractBaseInterfaces, Set<String> protocols, com.opensymphony.xwork2.util.finder.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
(com.opensymphony.xwork2.util.finder.Test<com.opensymphony.xwork2.util.finder.ClassFinder.ClassInfo> test) findClassesInPackage
(String packageName, boolean recursive) com.opensymphony.xwork2.util.finder.ClassLoaderInterface
boolean
isAnnotationPresent
(Class<? extends Annotation> annotation)
-
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 interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
isAnnotationPresent
- Specified by:
isAnnotationPresent
in interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
getClassesNotLoaded
- Specified by:
getClassesNotLoaded
in interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
findAnnotatedPackages
- Specified by:
findAnnotatedPackages
in interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
findAnnotatedClasses
- Specified by:
findAnnotatedClasses
in interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
findAnnotatedMethods
- Specified by:
findAnnotatedMethods
in interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
findAnnotatedConstructors
- Specified by:
findAnnotatedConstructors
in interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
findAnnotatedFields
- Specified by:
findAnnotatedFields
in interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
findClassesInPackage
- Specified by:
findClassesInPackage
in interfacecom.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 interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-
findClasses
- Specified by:
findClasses
in interfacecom.opensymphony.xwork2.util.finder.ClassFinder
-