public abstract class AnnotationProviderWrapper extends AnnotationProvider implements FacesWrapper<AnnotationProvider>
Constructor and Description |
---|
AnnotationProviderWrapper() |
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()
The returned Set<URL> urls are calculated in this way
( see JSF 2.0 spec section 11.4.2 for definitions )
|
Set<URL> |
getBaseUrls(ExternalContext ctx)
Same as getBaseUrls(), but with the ExternalContext reference.
|
getWrapped
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWrapped
public Map<Class<? extends Annotation>,Set<Class<?>>> getAnnotatedClasses(ExternalContext ctx)
AnnotationProvider
The 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
getAnnotatedClasses
in class AnnotationProvider
ctx
- The current ExternalContextpublic Set<URL> getBaseUrls() throws IOException
AnnotationProvider
The returned Set<URL> urls are calculated in this way ( see JSF 2.0 spec section 11.4.2 for definitions )
applicationConfigurationResources)
getBaseUrls
in class AnnotationProvider
IOException
public Set<URL> getBaseUrls(ExternalContext ctx) throws IOException
AnnotationProvider
getBaseUrls
in class AnnotationProvider
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.