org.apache.wicket.markup
Class DefaultMarkupCacheKeyProvider

java.lang.Object
  extended by org.apache.wicket.markup.DefaultMarkupCacheKeyProvider
All Implemented Interfaces:
IMarkupCacheKeyProvider

public class DefaultMarkupCacheKeyProvider
extends Object
implements IMarkupCacheKeyProvider

Wicket default implementation for the cache key used to reference the cached markup resource stream.

Author:
Jonathan Locke, Juergen Donnerstag

Constructor Summary
DefaultMarkupCacheKeyProvider()
          Constructor.
 
Method Summary
 String getCacheKey(MarkupContainer container, Class<?> clazz)
          Construct a proper key value for the cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMarkupCacheKeyProvider

public DefaultMarkupCacheKeyProvider()
Constructor.

Method Detail

getCacheKey

public String getCacheKey(MarkupContainer container,
                          Class<?> clazz)
Construct a proper key value for the cache

Specified by:
getCacheKey in interface IMarkupCacheKeyProvider
Parameters:
container - The container requesting the markup
clazz - The clazz to get the key for
Returns:
Key that uniquely identifies any markup that might be associated with this markup container.
See Also:
IMarkupResourceStreamProvider


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