|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.orchestra.annotation.AnnotationInfoManager
public class AnnotationInfoManager
Inspects a class for Orchestra annotations, and if found then caches this information for later access.
The processing of Class objects is expected to happen only at application startup.
Note that annotation scanning is driven by the dependency-injection framework, i.e. only classes declared to the framework are scanned.
Constructor Summary | |
---|---|
AnnotationInfoManager()
|
Method Summary | |
---|---|
protected void |
addAnnotationsInfo(AnnotationInfo annotationInfo)
|
AnnotationInfo |
getAnnotationInfoByBeanName(String beanName)
|
AnnotationInfo |
getAnnotationInfoByViewId(String viewId)
|
void |
processBeanAnnotations(String beanName,
Class<?> clazz)
Inspect the provided class for annotations, and if found then cache the info keyed by the specified beanName. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationInfoManager()
Method Detail |
---|
protected void addAnnotationsInfo(AnnotationInfo annotationInfo)
public AnnotationInfo getAnnotationInfoByBeanName(String beanName)
public AnnotationInfo getAnnotationInfoByViewId(String viewId)
public void processBeanAnnotations(String beanName, Class<?> clazz)
Currently the class-level annotations looked for are:
If the ViewController annotation is present, then the class is also scanned for related annotations on class methods.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |