org.apache.cxf.xkms.cache
Class EHCacheXKMSClientCache
java.lang.Object
org.apache.cxf.xkms.cache.EHCacheXKMSClientCache
- All Implemented Interfaces:
- Closeable, org.apache.cxf.buslifecycle.BusLifeCycleListener, XKMSClientCache
public class EHCacheXKMSClientCache
- extends Object
- implements XKMSClientCache, org.apache.cxf.buslifecycle.BusLifeCycleListener
An in-memory EHCache implementation of the XKMSClientCache interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_KEY
public static final String CACHE_KEY
- See Also:
- Constant Field Values
EHCacheXKMSClientCache
public EHCacheXKMSClientCache()
EHCacheXKMSClientCache
public EHCacheXKMSClientCache(org.apache.cxf.Bus cxfBus)
EHCacheXKMSClientCache
public EHCacheXKMSClientCache(String configFileURL)
EHCacheXKMSClientCache
public EHCacheXKMSClientCache(String configFileURL,
org.apache.cxf.Bus cxfBus)
put
public void put(String key,
XKMSCacheToken cacheToken)
- Store an XKMSCacheToken in the Cache using the given key
- Specified by:
put in interface XKMSClientCache
get
public XKMSCacheToken get(String key)
- Get an XKMSCacheToken from the cache matching the given key. Returns null if there
is no such XKMSCacheToken in the cache, or if the certificate has expired in the cache
- Specified by:
get in interface XKMSClientCache
close
public void close()
- Specified by:
close in interface Closeable- Specified by:
close in interface XKMSClientCache
initComplete
public void initComplete()
- Specified by:
initComplete in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
preShutdown
public void preShutdown()
- Specified by:
preShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
postShutdown
public void postShutdown()
- Specified by:
postShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
Apache CXF