public class ClassCacheMgr extends Object
| Constructor and Description |
|---|
ClassCacheMgr() |
| Modifier and Type | Method and Description |
|---|---|
Method |
findAnnotatedMethod(Class<?> clazz,
Class<? extends Annotation> anno)
Find method annotated with the given annotation.
|
<T> CFMappingDef<? super T> |
findBaseClassViaMappings(CFMappingDef<T> cfMapDef)
Examine class hierarchy using
CFMappingDef objects to discover the
given class' "base inheritance" class. |
<T> CFMappingDef<T> |
getCfMapDef(Class<T> clazz,
boolean throwException)
Retrieve class mapping meta-data by
Class object. |
<T> CFMappingDef<T> |
getCfMapDef(String colFamName,
boolean throwException)
Retrieve class mapping meta-data by ColumnFamily name.
|
Map<String,PropertyDescriptor> |
getFieldPropertyDescriptorMap(Class<?> clazz) |
<T> CFMappingDef<T> |
initializeCacheForClass(Class<T> clazz)
For each class that should be managed, this method must be called to parse
its annotations and derive its meta-data.
|
public <T> CFMappingDef<? super T> findBaseClassViaMappings(CFMappingDef<T> cfMapDef)
CFMappingDef objects to discover the
given class' "base inheritance" class. A base inheritance class is
determined by CFMappingDef.isBaseEntity()T - cfMapDef - public <T> CFMappingDef<T> getCfMapDef(Class<T> clazz, boolean throwException)
Class object.T - clazz - throwException - public <T> CFMappingDef<T> getCfMapDef(String colFamName, boolean throwException)
T - colFamName - throwException - public <T> CFMappingDef<T> initializeCacheForClass(Class<T> clazz)
T - clazz - public Map<String,PropertyDescriptor> getFieldPropertyDescriptorMap(Class<?> clazz) throws IntrospectionException
IntrospectionExceptionpublic Method findAnnotatedMethod(Class<?> clazz, Class<? extends Annotation> anno)
clazz - anno - Copyright © 2014. All Rights Reserved.