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 returns null
the markup is
not cached.
- Author:
- Juergen Donnerstag
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetCacheKey
(MarkupContainer container, Class<?> containerClass) Provide the markup cache key for the associated Markup resource stream.
-
Method Details
-
getCacheKey
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:
-