org.onebusaway.container.model
Class IdentityBeanCacheableObjectKeyFactory

java.lang.Object
  extended by org.onebusaway.container.model.IdentityBeanCacheableObjectKeyFactory
All Implemented Interfaces:
CacheableObjectKeyFactory

public class IdentityBeanCacheableObjectKeyFactory
extends Object
implements CacheableObjectKeyFactory

Provides a CacheableObjectKeyFactory cache key strategy for objects of type IdentityBean, where the objects id is used as the cache key.

Author:
bdferris
See Also:
CacheableObjectKeyFactory

Constructor Summary
IdentityBeanCacheableObjectKeyFactory()
           
 
Method Summary
 CacheKeyInfo createKey(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityBeanCacheableObjectKeyFactory

public IdentityBeanCacheableObjectKeyFactory()
Method Detail

createKey

public CacheKeyInfo createKey(Object object)
Specified by:
createKey in interface CacheableObjectKeyFactory


Copyright © 2012 OneBusAway. All Rights Reserved.