Package ognl.internal.entry
Class PropertyDescriptorCacheEntryFactory
java.lang.Object
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 MethodfindClosestMatchingMethod(Class<?> targetClass, Method method, String propertyName, Class<?> propertyType, boolean isReadMethod) private static voidfindObjectIndexedPropertyDescriptors(Class<?> targetClass, Map<String, PropertyDescriptor> intoMap) private static booleanindexMethodCheck(List<Method> methods)
-
Constructor Details
-
PropertyDescriptorCacheEntryFactory
public PropertyDescriptorCacheEntryFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceCacheEntryFactory<Class<?>,Map<String, PropertyDescriptor>> - Throws:
CacheException
-
findClosestMatchingMethod
static Method findClosestMatchingMethod(Class<?> targetClass, Method method, 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
-