org.onebusaway.container.cache
Class PropertyPathExpressionCacheableObjectKeyFactory
java.lang.Object
org.onebusaway.container.cache.PropertyPathExpressionCacheableObjectKeyFactory
- All Implemented Interfaces:
- Serializable, CacheableObjectKeyFactory
public class PropertyPathExpressionCacheableObjectKeyFactory
- extends Object
- implements CacheableObjectKeyFactory, Serializable
Factory for producing a Serializable
cache key from an arbitrary
object by first applying a link PropertyPathExpression
to the object
and then applying a secondary CacheableObjectKeyFactory
to the
result.
- Author:
- bdferris
- See Also:
CacheableObjectKeyFactory
,
DefaultCacheableKeyFactory
,
PropertyPathExpression
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyPathExpressionCacheableObjectKeyFactory
public PropertyPathExpressionCacheableObjectKeyFactory(org.onebusaway.collections.PropertyPathExpression expression,
CacheableObjectKeyFactory objectKeyFactory)
createKey
public CacheKeyInfo createKey(Object object)
- Specified by:
createKey
in interface CacheableObjectKeyFactory
Copyright © 2012 OneBusAway. All Rights Reserved.