|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheManagerFactory
Manages CacheManager instances.
It is invoked by the Caching class to create
a CacheManager
| Method Summary | |
|---|---|
void |
close()
Reclaims all resources obtained from this factory. |
boolean |
close(ClassLoader classLoader)
Reclaims all resources for a ClassLoader from this factory. |
boolean |
close(ClassLoader classLoader,
String name)
Reclaims all resources for a ClassLoader from this factory. |
CacheManager |
getCacheManager(ClassLoader classLoader,
String name)
Get the cache manager for the specified name and class loader. |
CacheManager |
getCacheManager(String name)
Get a named cache manager using the default cache loader as specified by the implementation. |
| Method Detail |
|---|
CacheManager getCacheManager(String name)
name - the name of the cache manager
NullPointerException - if name is null
CacheManager getCacheManager(ClassLoader classLoader,
String name)
classLoader - associated with the cache manager.name - the name of the cache manager
NullPointerException - if classLoader or name is null
void close()
throws CachingShutdownException
CachingShutdownException - if any of the individual shutdowns failed
boolean close(ClassLoader classLoader)
throws CachingShutdownException
classLoader - the class loader for which managers will be shut down
CachingShutdownException - if any of the individual shutdowns failed
boolean close(ClassLoader classLoader,
String name)
throws CachingShutdownException
classLoader - the class loader for which managers will be shut downname - the name of the cache manager
CachingShutdownException - if there is a problem shutting down a CacheManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||