Class PropertyDescriptorCacheEntryFactory
java.lang.Object
org.apache.commons.ognl.internal.entry.PropertyDescriptorCacheEntryFactory
- All Implemented Interfaces:
CacheEntryFactory<Class<?>,
,Map<String, PropertyDescriptor>> ClassCacheEntryFactory<Map<String,
PropertyDescriptor>>
public class PropertyDescriptorCacheEntryFactory
extends Object
implements ClassCacheEntryFactory<Map<String,PropertyDescriptor>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static Method
findClosestMatchingMethod
(Class<?> targetClass, Method m, String propertyName, Class<?> propertyType, boolean isReadMethod) private static void
findObjectIndexedPropertyDescriptors
(Class<?> targetClass, Map<String, PropertyDescriptor> intoMap) private static boolean
indexMethodCheck
(List<Method> methods)
-
Constructor Details
-
PropertyDescriptorCacheEntryFactory
public PropertyDescriptorCacheEntryFactory()
-
-
Method Details
-
create
- Specified by:
create
in interfaceCacheEntryFactory<Class<?>,
Map<String, PropertyDescriptor>> - Throws:
CacheException
-
findClosestMatchingMethod
static Method findClosestMatchingMethod(Class<?> targetClass, Method m, String propertyName, Class<?> propertyType, boolean isReadMethod) throws OgnlException - Throws:
OgnlException
-
findObjectIndexedPropertyDescriptors
private static void findObjectIndexedPropertyDescriptors(Class<?> targetClass, Map<String, PropertyDescriptor> intoMap) throws OgnlException- Throws:
OgnlException
-
indexMethodCheck
-