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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMarkupCacheKeyProvider
public DefaultMarkupCacheKeyProvider()
- Constructor.
getCacheKey
public String getCacheKey(MarkupContainer container,
Class<?> clazz)
- Construct a proper key value for the cache
- Specified by:
getCacheKey
in interface IMarkupCacheKeyProvider
- 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
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.