public class FilterClassesFromFacesInitializerAnnotationProvider extends AnnotationProvider
This class just further filters the classes that have already been obtained by the ServletContainerInitializer
and stored in the ServletContext using the key RIConstants.ANNOTATED_CLASSES
servletContext, wrappedAnnotationProvider
Constructor and Description |
---|
FilterClassesFromFacesInitializerAnnotationProvider(javax.servlet.ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
Map<Class<? extends Annotation>,Set<Class<?>>> |
getAnnotatedClasses(Set<URI> urls) |
void |
setAnnotationScanner(AnnotationScanner containerConnector,
Set<String> jarNamesWithoutMetadataComplete) |
public FilterClassesFromFacesInitializerAnnotationProvider(javax.servlet.ServletContext servletContext)
public void setAnnotationScanner(AnnotationScanner containerConnector, Set<String> jarNamesWithoutMetadataComplete)
public Map<Class<? extends Annotation>,Set<Class<?>>> getAnnotatedClasses(Set<URI> urls)
getAnnotatedClasses
in class AnnotationProvider
urls
- a Set
of URLs that refer to specific faces-config.xml documents on the classpath. The
information returned by the map may return annotation information from sources outside of those defined by
the urls.Map
of classes mapped to a specific annotation type. If no annotations are present, this
method returns an empty Map
.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.