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 Type
    Method
    Description
    getCacheKey(MarkupContainer container, Class<?> containerClass)
    Provide the markup cache key for the associated Markup resource stream.
  • Method Details

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