Class ObjectCacheFactory

  extended by

public class ObjectCacheFactory
extends java.lang.Object

Factory for ObjectCache implementation classes. Each given PersistenceBroker was associated with its own ObjectCache instance and vice versa.

$Id: 365232 2005-12-21 22:36:07Z tomdz $
Thomas Mahler

Method Summary
 MaterializationCache createObjectCache(PersistenceBroker broker)
          Creates a new ObjectCacheInternal instance.
static ObjectCacheFactory getInstance()
          Get the ObjectCacheFactory instance.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static ObjectCacheFactory getInstance()
Get the ObjectCacheFactory instance.


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.

broker - The PB instance to associate with the cache instance

(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
Version: 1.0.4, 2005-12-30