org.castor.cache.distributed
Class OsCacheFactory
java.lang.Object
org.castor.cache.distributed.OsCacheFactory
- CacheFactory
public final class OsCacheFactory
extends java.lang.Object
$Revision: 7085 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
getCache
public Cache getCache(String implementation,
ClassLoader classLoader)
throws CacheAcquireException
Normally called to initialize OsCache. To be able to test the method without
having com.opensymphony.oscache.general.GeneralCacheAdministrator
implementation, it can also be called with a test implementations classname.
implementation
- Cache implementation classname to initialize.classLoader
- A ClassLoader instance.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com