Class PropertyDescriptorCacheEntryFactory
- java.lang.Object
-
- org.apache.commons.ognl.internal.entry.PropertyDescriptorCacheEntryFactory
-
- All Implemented Interfaces:
CacheEntryFactory<java.lang.Class<?>,java.util.Map<java.lang.String,java.beans.PropertyDescriptor>>,ClassCacheEntryFactory<java.util.Map<java.lang.String,java.beans.PropertyDescriptor>>
public class PropertyDescriptorCacheEntryFactory extends java.lang.Object implements ClassCacheEntryFactory<java.util.Map<java.lang.String,java.beans.PropertyDescriptor>>
-
-
Constructor Summary
Constructors Constructor Description PropertyDescriptorCacheEntryFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.beans.PropertyDescriptor>create(java.lang.Class<?> targetClass)(package private) static java.lang.reflect.MethodfindClosestMatchingMethod(java.lang.Class<?> targetClass, java.lang.reflect.Method m, java.lang.String propertyName, java.lang.Class<?> propertyType, boolean isReadMethod)private static voidfindObjectIndexedPropertyDescriptors(java.lang.Class<?> targetClass, java.util.Map<java.lang.String,java.beans.PropertyDescriptor> intoMap)private static booleanindexMethodCheck(java.util.List<java.lang.reflect.Method> methods)
-
-
-
Method Detail
-
create
public java.util.Map<java.lang.String,java.beans.PropertyDescriptor> create(java.lang.Class<?> targetClass) throws CacheException- Specified by:
createin interfaceCacheEntryFactory<java.lang.Class<?>,java.util.Map<java.lang.String,java.beans.PropertyDescriptor>>- Throws:
CacheException
-
findClosestMatchingMethod
static java.lang.reflect.Method findClosestMatchingMethod(java.lang.Class<?> targetClass, java.lang.reflect.Method m, java.lang.String propertyName, java.lang.Class<?> propertyType, boolean isReadMethod) throws OgnlException- Throws:
OgnlException
-
findObjectIndexedPropertyDescriptors
private static void findObjectIndexedPropertyDescriptors(java.lang.Class<?> targetClass, java.util.Map<java.lang.String,java.beans.PropertyDescriptor> intoMap) throws OgnlException- Throws:
OgnlException
-
indexMethodCheck
private static boolean indexMethodCheck(java.util.List<java.lang.reflect.Method> methods)
-
-