|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PropertyResolver.IClassCache
An implementation of the class can be set on the
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.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void put(Class<?> clz, Map<String,PropertyResolver.IGetAndSet> values)
clz
- values
- Map<String,PropertyResolver.IGetAndSet> get(Class<?> clz)
clz
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |