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 |
sc, 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) |
protected void |
processScripts(Set<String> classList) |
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()
Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.