Package org.apache.wicket.markup
Interface IMarkupCacheKeyProvider
-
- All Known Implementing Classes:
DefaultMarkupCacheKeyProvider
public interface IMarkupCacheKeyProvider
To be implemented by MarkupContainers that wish to implement their own algorithms for the markup cache key.If
getCacheKey(MarkupContainer, Class)
method returnsnull
the markup is not cached.- Author:
- Juergen Donnerstag
- See Also:
IMarkupResourceStreamProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCacheKey(MarkupContainer container, Class<?> containerClass)
Provide the markup cache key for the associated Markup resource stream.
-
-
-
Method Detail
-
getCacheKey
String getCacheKey(MarkupContainer container, 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
-
-