org.apache.myfaces.trinidadinternal.image.cache
Interface CacheKeyFactory
- All Known Implementing Classes:
- ColorizedIconKeyFactory, CompositeButtonKeyFactory, FlippedIconKeyFactory
public interface CacheKeyFactory
The file system-based ImageProvider implementations convert the Map
of requested image properties into an object more optimized for hashtable
lookups via a CacheKeyFactory. The image type-specific CacheKeyFactory
is stored on the ImageType instance using the
CACHE_KEY_FACTORY_PROPERTY key.
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/image/cache/CacheKeyFactory.java#0 $) $Date: 10-nov-2005.19:06:01 $
- Author:
- The Oracle ADF Faces Team
Field Summary |
static java.lang.Object |
CACHE_KEY_FACTORY_PROPERTY
Key used to retrieve the CacheKeyFactory property from an ImageType. |
Method Summary |
java.lang.Object |
getCacheKey(ImageContext context,
java.util.Map<java.lang.Object,java.lang.Object> properties)
Creates a key suitable for use as a hashtable key. |
CACHE_KEY_FACTORY_PROPERTY
static final java.lang.Object CACHE_KEY_FACTORY_PROPERTY
- Key used to retrieve the CacheKeyFactory property from an ImageType.
getCacheKey
java.lang.Object getCacheKey(ImageContext context,
java.util.Map<java.lang.Object,java.lang.Object> properties)
- Creates a key suitable for use as a hashtable key.
- Parameters:
context
- The image contextproperty
- The dictionary of requested image properties
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.