|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.cert.CertCacheFactory
public class CertCacheFactory
Factory class for creating instances of JCS based certificate caches. Caches are keyed by name (case sensitive).
The factory implements a singleton pattern for both the factory itself and named caches.
| Method Summary | |
|---|---|
void |
flushAll()
|
JCS |
getCertCache(String cacheName,
CertStoreCachePolicy cachePolicy)
Retrieves a cert cache by name. |
static CertCacheFactory |
getInstance()
Gets the instance of the cache factory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CertCacheFactory getInstance()
public JCS getCertCache(String cacheName,
CertStoreCachePolicy cachePolicy)
throws CacheException
cacheName - The name of the cache to retrieve.cachePolicy - Policy to apply to the cache
CacheException - Thrown if the cache cannot be created.public void flushAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||