|
||||||||||
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
Constructor Summary | |
---|---|
AnnotationProviderWrapper()
|
Method Summary | |
---|---|
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.util.Set<java.lang.Class<?>>> |
getAnnotatedClasses(javax.faces.context.ExternalContext ctx)
Retrieve a map containing the classes that contains annotations used by jsf implementation at startup. |
java.util.Set<java.net.URL> |
getBaseUrls()
The returned Set<URL> urls are calculated in this way ( see JSF 2.0 spec section 11.4.2 for definitions ) |
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 java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.util.Set<java.lang.Class<?>>> getAnnotatedClasses(javax.faces.context.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 ExternalContext
public java.util.Set<java.net.URL> getBaseUrls() throws java.io.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
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |