org.apache.wicket.markup
Interface IMarkupCacheKeyProvider

All Known Implementing Classes:
DefaultMarkupCacheKeyProvider, PageWithCustomLoading, VelocityPanel

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:
IMarkupResourceStreamProvider

Method Summary
 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 key
containerClass - The container the markup should be associated with
Returns:
A IResourceStream if the resource was found
See Also:
IMarkupResourceStreamProvider


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.