java.lang.Object
com.sun.faces.spi.AnnotationProvider
com.sun.faces.config.manager.spi.AnnotationScanner
This class is responsible for ensuring that the class file bytes of classes contained within the web application are
scanned for any of the known Faces configuration Annotations:
- jakarta.faces.component.FacesBehavior
- jakarta.faces.render.FacesBehaviorRenderer
- jakarta.faces.component.FacesComponent
- jakarta.faces.convert.FacesConverter
- jakarta.faces.validator.FacesValidator
- jakarta.faces.render.FacesRenderer
- jakarta.faces.event.NamedEvent
- jakarta.faces.view.facelets.FaceletsResourceResolver
-
Field Summary
Fields inherited from class com.sun.faces.spi.AnnotationProvider
servletContext, wrappedAnnotationProvider
-
Constructor Summary
ConstructorDescriptionCreates a newAnnotationScanner
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]
protected boolean
protected boolean
processClass
(String candidate) protected boolean
processClass
(String candidate, String[] packages) protected Map
<Class<? extends Annotation>, Set<Class<?>>> processClassList
(Set<String> classList) protected boolean
processJar
(String entry) Methods inherited from class com.sun.faces.spi.AnnotationProvider
getAnnotatedClasses
-
Field Details
-
FACES_ANNOTATIONS
-
FACES_ANNOTATION_TYPE
-
-
Constructor Details
-
AnnotationScanner
Creates a newAnnotationScanner
instance.- Parameters:
sc
- theServletContext
for the application to be scanned
-
-
Method Details
-
processJar
-
processClass
- Parameters:
candidate
- the class that should be processed- Returns:
true
if the class should be processed further, otherwise,false
-
processClass
-
processClassList
-
isAnnotationScanPackagesSet
protected boolean isAnnotationScanPackagesSet() -
getClasspathPackages
-
getWebInfClassesPackages
-