Package org.apache.wicket.markup
Interface IMarkupCacheKeyProvider
-
- All Known Implementing Classes:
DefaultMarkupCacheKeyProvider
public interface IMarkupCacheKeyProviderTo be implemented by MarkupContainers that wish to implement their own algorithms for the markup cache key.If
getCacheKey(MarkupContainer, Class)method returnsnullthe markup is not cached.- Author:
- Juergen Donnerstag
- See Also:
IMarkupResourceStreamProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCacheKey(MarkupContainer container, java.lang.Class<?> containerClass)Provide the markup cache key for the associated Markup resource stream.
-
-
-
Method Detail
-
getCacheKey
java.lang.String getCacheKey(MarkupContainer container, java.lang.Class<?> containerClass)
Provide the markup cache key for the associated Markup resource stream.- Parameters:
container- The MarkupContainer object requesting the markup cache keycontainerClass- The container the markup should be associated with- Returns:
- A IResourceStream if the resource was found
- See Also:
IMarkupResourceStreamProvider
-
-