org.apache.ojb.broker.cache
Class ObjectCacheFactory
java.lang.Object
org.apache.ojb.broker.util.factory.ConfigurableFactory
org.apache.ojb.broker.cache.ObjectCacheFactory
- All Implemented Interfaces:
- org.apache.ojb.broker.util.configuration.Configurable
- public class ObjectCacheFactory
- extends org.apache.ojb.broker.util.factory.ConfigurableFactory
Factory for ObjectCache
implementation classes.
Each given PersistenceBroker
was associated with its own ObjectCache
instance
and vice versa.
- Version:
- $Id: ObjectCacheFactory.java,v 1.17 2004/04/04 23:53:33 brianm Exp $
- Author:
- Thomas Mahler
Methods inherited from class org.apache.ojb.broker.util.factory.ConfigurableFactory |
configure, createNewInstance, createNewInstance, createNewInstance, getClassToServe, setClassToServe |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectCacheFactory
public ObjectCacheFactory()
getInstance
public static ObjectCacheFactory getInstance()
- Get the ObjectCacheFactory instance.
createObjectCache
public ObjectCache createObjectCache(PersistenceBroker broker)
- Creates a new
ObjectCache
instance. Each ObjectCache
implementation was wrapped by a CacheDistributor
instance and if
cache filtering is enabled by a CacheFilterRegistry
instance too.
- Parameters:
broker
- The PB instance to associate with the cache instance
(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.0, 2004-06-25