|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.persist.cache.AbstractCacheFactory
public abstract class 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 given class. |
abstract java.lang.String |
getCacheClassName()
Returns the full class name of the underlying cache implementation. |
abstract java.lang.String |
getName()
Returns the short alias for this factory instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exolab.castor.persist.cache.CacheFactory |
|---|
shutdown |
| Constructor Detail |
|---|
public AbstractCacheFactory()
| Method Detail |
|---|
public Cache getCache(java.lang.ClassLoader classLoader)
throws CacheAcquireException
getCache in interface CacheFactoryclassLoader - A ClassLoader instance.
CacheAcquireException - Problem instantiating a cache instance.public abstract java.lang.String getName()
getName in interface CacheFactorypublic abstract java.lang.String getCacheClassName()
getCacheClassName in interface CacheFactory
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||