public abstract class AnnotationProviderWrapper extends AnnotationProvider implements FacesWrapper<AnnotationProvider>
| Constructor and Description | 
|---|
| AnnotationProviderWrapper() | 
| AnnotationProviderWrapper(AnnotationProvider delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<Class<? extends Annotation>,Set<Class<?>>> | getAnnotatedClasses(ExternalContext ctx)Retrieve a map containing the classes that contains annotations used by jsf implementation at
 startup. | 
| Set<URL> | getBaseUrls(ExternalContext ctx)The returned Set<URL> urls are calculated in this way
 ( see JSF 2.0 spec section 11.4.2 for definitions ) | 
| AnnotationProvider | getWrapped() | 
public AnnotationProviderWrapper()
public AnnotationProviderWrapper(AnnotationProvider delegate)
public Map<Class<? extends Annotation>,Set<Class<?>>> getAnnotatedClasses(ExternalContext ctx)
AnnotationProviderThe default implementation must comply with JSF 2.0 spec section 11.5.1 Requirements for scanning of classes for annotations.
This method could call getBaseUrls() to obtain a list of URL that could be used to indicate jar files of annotations in the classpath.
If the <faces-config> element in the WEB-INF/faces-config.xml file contains metadata-complete attribute whose value is "true", this method should not be called.
getAnnotatedClasses in class AnnotationProviderctx - The current ExternalContextpublic Set<URL> getBaseUrls(ExternalContext ctx) throws IOException
AnnotationProviderThe returned Set<URL> urls are calculated in this way ( see JSF 2.0 spec section 11.4.2 for definitions )
applicationConfigurationResources)getBaseUrls in class AnnotationProviderIOExceptionpublic AnnotationProvider getWrapped()
getWrapped in interface FacesWrapper<AnnotationProvider>getWrapped in class AnnotationProviderCopyright © 2022 The Apache Software Foundation. All rights reserved.