|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheFactory
A factory for instantiating Cache implementations. To provide an implementation for a specific cache type, please implement this interface. When providing your own cache instance as explained in the JavaDocs for this package, please make sure that you provide valid values for the name and className properties.
Method Summary | |
---|---|
Cache |
getCache(java.lang.ClassLoader classLoader)
Instantiates an instance of the given class. |
java.lang.String |
getCacheClassName()
Returns the full class name of the underlying cache implementation. |
java.lang.String |
getName()
Returns the short alias for this factory instance. |
void |
shutdown()
Allows for cache-specific shutdown operations and resource cleanup. |
Method Detail |
---|
Cache getCache(java.lang.ClassLoader classLoader) throws CacheAcquireException
classLoader
- A ClassLoader instance.
CacheAcquireException
- Problem instantiating a cache instance.java.lang.String getName()
java.lang.String getCacheClassName()
void shutdown()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |