public static interface PropertyResolver.IClassCache
PropertyResolver.setClassCache(org.apache.wicket.Application, org.apache.wicket.core.util.lang.PropertyResolver.IClassCache)
method for a specific application. This class cache can then be a special map with
an eviction policy or do nothing if nothing should be cached for the given class.
For example if you have proxy classes that are constantly created you could opt for not
caching those at all or have a special Map implementation that will evict that class at a
certain point.Modifier and Type | Method and Description |
---|---|
Map<String,PropertyResolver.IGetAndSet> |
get(Class<?> clz)
Returns the class map from the cache.
|
void |
put(Class<?> clz,
Map<String,PropertyResolver.IGetAndSet> values)
Put the class into the cache, or if that class shouldn't be cached do nothing.
|
void put(Class<?> clz, Map<String,PropertyResolver.IGetAndSet> values)
clz
- values
- Map<String,PropertyResolver.IGetAndSet> get(Class<?> clz)
clz
- Copyright © 2006–2016 Apache Software Foundation. All rights reserved.