public abstract class AnnotationScanner extends AnnotationProvider
Modifier and Type | Field and Description |
---|---|
protected static Set<Class<? extends Annotation>> |
FACES_ANNOTATION_TYPE |
protected static Set<String> |
FACES_ANNOTATIONS |
servletContext, wrappedAnnotationProvider
Constructor and Description |
---|
AnnotationScanner(javax.servlet.ServletContext sc)
Creates a new
AnnotationScanner instance. |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String[]> |
getClasspathPackages() |
protected String[] |
getWebInfClassesPackages() |
protected boolean |
isAnnotationScanPackagesSet() |
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) |
getAnnotatedClasses
protected static final Set<Class<? extends Annotation>> FACES_ANNOTATION_TYPE
public AnnotationScanner(javax.servlet.ServletContext sc)
AnnotationScanner
instance.sc
- the ServletContext
for the application to be
scannedprotected boolean processJar(String entry)
protected boolean processClass(String candidate)
candidate
- the class that should be processedtrue
if the class should be processed further,
otherwise, false
protected Map<Class<? extends Annotation>,Set<Class<?>>> processClassList(Set<String> classList)
protected boolean isAnnotationScanPackagesSet()
protected String[] getWebInfClassesPackages()
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.