org.apache.ojb.broker.cache
Class ObjectCacheFactory
java.lang.Object
org.apache.ojb.broker.cache.ObjectCacheFactory
public class ObjectCacheFactory
- extends Object
Factory for ObjectCache
implementation classes.
Each given PersistenceBroker
was associated with its own ObjectCache
instance
and vice versa.
- Version:
- $Id: ObjectCacheFactory.java,v 1.1 2007-08-24 22:17:29 ewestfal Exp $
- Author:
- Thomas Mahler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private Logger log
singleton
private static ObjectCacheFactory singleton
ObjectCacheFactory
private ObjectCacheFactory()
getInstance
public static ObjectCacheFactory getInstance()
- Get the ObjectCacheFactory instance.
createObjectCache
public MaterializationCache createObjectCache(PersistenceBroker broker)
- Creates a new
ObjectCacheInternal
instance. Each ObjectCache
implementation was wrapped by a CacheDistributor
and the distributor
was wrapped by MaterializationCache
.
- Parameters:
broker
- The PB instance to associate with the cache instance
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.