public class ObjectCacheFactory
extends java.lang.Object
ObjectCache
implementation classes.
Each given PersistenceBroker
was associated with its own ObjectCache
instance
and vice versa.Modifier and Type | Method and Description |
---|---|
MaterializationCache |
createObjectCache(PersistenceBroker broker)
Creates a new
ObjectCacheInternal instance. |
static ObjectCacheFactory |
getInstance()
Get the ObjectCacheFactory instance.
|
public static ObjectCacheFactory getInstance()
public MaterializationCache createObjectCache(PersistenceBroker broker)
ObjectCacheInternal
instance. Each ObjectCache
implementation was wrapped by a CacheDistributor
and the distributor
was wrapped by MaterializationCache
.broker
- The PB instance to associate with the cache instance(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30