|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.spi.AnnotationProvider
org.apache.myfaces.spi.AnnotationProviderWrapper
public abstract class AnnotationProviderWrapper
Wrapper class that all AnnotationProvider instances should extend. This is used to wrap the default algorithm and add some additional custom processing.
| Constructor Summary | |
|---|---|
AnnotationProviderWrapper()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.myfaces.spi.AnnotationProvider |
|---|
getWrapped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.FacesWrapper |
|---|
getWrapped |
| Constructor Detail |
|---|
public AnnotationProviderWrapper()
| Method Detail |
|---|
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
getAnnotatedClasses in class AnnotationProviderctx - The current ExternalContext
public Set<URL> getBaseUrls()
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 AnnotationProviderIOException
public Set<URL> getBaseUrls(ExternalContext ctx)
throws IOException
AnnotationProvider
getBaseUrls in class AnnotationProviderIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||