org.apache.cxf.ws.security.cache
Class CXFEHCacheReplayCache
java.lang.Object
org.apache.wss4j.common.cache.EHCacheReplayCache
org.apache.cxf.ws.security.cache.CXFEHCacheReplayCache
- All Implemented Interfaces:
- Closeable, org.apache.cxf.buslifecycle.BusLifeCycleListener, org.apache.wss4j.common.cache.ReplayCache
public class CXFEHCacheReplayCache
- extends org.apache.wss4j.common.cache.EHCacheReplayCache
- implements org.apache.cxf.buslifecycle.BusLifeCycleListener
Wrap the default WSS4J EHCacheReplayCache in a BusLifeCycleListener, to make sure that
the cache is shutdown correctly.
| Fields inherited from class org.apache.wss4j.common.cache.EHCacheReplayCache |
cache, cacheManager, DEFAULT_TTL, MAX_TTL, ttl |
|
Method Summary |
void |
close()
|
| Methods inherited from class org.apache.wss4j.common.cache.EHCacheReplayCache |
add, add, contains, getTTL, initComplete, postShutdown, preShutdown, setTTL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cxf.buslifecycle.BusLifeCycleListener |
initComplete, postShutdown, preShutdown |
CXFEHCacheReplayCache
public CXFEHCacheReplayCache(String key,
org.apache.cxf.Bus bus,
URL configFileURL)
close
public void close()
- Specified by:
close in interface Closeable- Overrides:
close in class org.apache.wss4j.common.cache.EHCacheReplayCache
Apache CXF