Package org.apache.wicket.core.util.lang
Class PropertyResolver.CachingPropertyLocator
- java.lang.Object
-
- org.apache.wicket.core.util.lang.PropertyResolver.CachingPropertyLocator
-
- All Implemented Interfaces:
PropertyResolver.IPropertyLocator
- Enclosing class:
- PropertyResolver
public static class PropertyResolver.CachingPropertyLocator extends Object implements PropertyResolver.IPropertyLocator
A wrapper for anotherPropertyResolver.IPropertyLocator
that caches results ofget(Class, String)
.
-
-
Constructor Summary
Constructors Constructor Description CachingPropertyLocator(PropertyResolver.IPropertyLocator locator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyResolver.IGetAndSet
get(Class<?> clz, String exp)
GetPropertyResolver.IGetAndSet
for a property.
-
-
-
Constructor Detail
-
CachingPropertyLocator
public CachingPropertyLocator(PropertyResolver.IPropertyLocator locator)
-
-
Method Detail
-
get
public PropertyResolver.IGetAndSet get(Class<?> clz, String exp)
Description copied from interface:PropertyResolver.IPropertyLocator
GetPropertyResolver.IGetAndSet
for a property.- Specified by:
get
in interfacePropertyResolver.IPropertyLocator
- Parameters:
clz
- owning classexp
- identifying the property- Returns:
- getAndSet or
null
if non located
-
-