|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.cache.AbstractCacheFactory
Base implementation of CacheFactory. Users interested in supplying their
own cache implementations might want to extend this class to provide their
own CacheFactory instance.
| Constructor Summary | |
AbstractCacheFactory()
|
|
| Method Summary | |
Cache |
getCache(java.lang.ClassLoader classLoader)
Instantiates an instance of the cache implementation this factory is responsible for using the given classloader. |
void |
shutdown()
Allows for cache-specific shutdown operations and resource cleanup. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.castor.cache.CacheFactory |
getCacheClassName, getCacheType |
| Constructor Detail |
public AbstractCacheFactory()
| Method Detail |
public final Cache getCache(java.lang.ClassLoader classLoader)
throws CacheAcquireException
getCache in interface CacheFactoryclassLoader - A ClassLoader instance.
CacheAcquireException - Problem instantiating a cache instance.CacheFactory.getCache(java.lang.ClassLoader)public void shutdown()
shutdown in interface CacheFactoryCacheFactory.shutdown()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||