Package org.apache.wicket.markup
Class DefaultMarkupCacheKeyProvider
- java.lang.Object
-
- org.apache.wicket.markup.DefaultMarkupCacheKeyProvider
-
- All Implemented Interfaces:
IMarkupCacheKeyProvider
public class DefaultMarkupCacheKeyProvider extends Object implements IMarkupCacheKeyProvider
Wicket default implementation for the cache key used to reference the cached markup resource stream.- Author:
- Jonathan Locke, Juergen Donnerstag
-
-
Constructor Summary
Constructors Constructor Description DefaultMarkupCacheKeyProvider()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCacheKey(MarkupContainer container, Class<?> clazz)
Construct a proper key value for the cache
-
-
-
Constructor Detail
-
DefaultMarkupCacheKeyProvider
public DefaultMarkupCacheKeyProvider()
Constructor.
-
-
Method Detail
-
getCacheKey
public String getCacheKey(MarkupContainer container, Class<?> clazz)
Construct a proper key value for the cache- Specified by:
getCacheKey
in interfaceIMarkupCacheKeyProvider
- Parameters:
container
- The container requesting the markupclazz
- The clazz to get the key for- Returns:
- Key that uniquely identifies any markup that might be associated with this markup container.
- See Also:
IMarkupResourceStreamProvider
-
-