Package org.apache.wicket.markup
Class DefaultMarkupCacheKeyProvider
- java.lang.Object
-
- org.apache.wicket.markup.DefaultMarkupCacheKeyProvider
-
- All Implemented Interfaces:
IMarkupCacheKeyProvider
public class DefaultMarkupCacheKeyProvider extends java.lang.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 java.lang.String
getCacheKey(MarkupContainer container, java.lang.Class<?> clazz)
Construct a proper key value for the cache
-
-
-
Method Detail
-
getCacheKey
public java.lang.String getCacheKey(MarkupContainer container, java.lang.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
-
-