|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.BeanTypeAnnotationProcessor
public final class BeanTypeAnnotationProcessor
Singleton class for processing CSAF annotations on a given persistent class
and adding the obtained meta-information to a RegistryObjectModel
instance.
Method Summary | |
---|---|
void |
addAnnnotationProcessor(java.lang.Class<?> annotationType,
PropertyAnnotationProcessor annotationProcessor)
Adds a PropertyAnnotationProcessor instance to the default processors. |
static BeanTypeAnnotationProcessor |
getInstance()
Returns the default BeanTypeAnnotationProcessor . |
Property |
getProperty(java.lang.Class<? extends RegistryBean> persistentClass,
java.lang.reflect.Method getter,
java.util.List<java.lang.annotation.Annotation> annotations,
BeanType beanType)
|
void |
processClass(java.lang.Class<? extends RegistryBean> persistentClass,
RegistryObjectModel model)
Processes all CSAF annotations on type and method level for the given persistent class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BeanTypeAnnotationProcessor getInstance()
BeanTypeAnnotationProcessor
.
public void addAnnnotationProcessor(java.lang.Class<?> annotationType, PropertyAnnotationProcessor annotationProcessor)
PropertyAnnotationProcessor
instance to the default processors.
annotationType
- Type of annotation. May be custom defined type.annotationProcessor
- public void processClass(java.lang.Class<? extends RegistryBean> persistentClass, RegistryObjectModel model) throws CSAppFrameworkException
persistentClass
- Annotated java bean class containing mapping information.model
- Registry object model that the given persistent class belongs
to.
CSAppFrameworkException
public Property getProperty(java.lang.Class<? extends RegistryBean> persistentClass, java.lang.reflect.Method getter, java.util.List<java.lang.annotation.Annotation> annotations, BeanType beanType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |