Package 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,AutoCloseable,BusLifeCycleListener,ReplayCache
public class CXFEHCacheReplayCache extends EHCacheReplayCache implements BusLifeCycleListener
Wrap the default WSS4J EHCacheReplayCache in a BusLifeCycleListener, to make sure that the cache is shutdown correctly.
-
-
Constructor Summary
Constructors Constructor Description CXFEHCacheReplayCache(String key, Bus bus, Path diskstorePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()-
Methods inherited from class org.apache.wss4j.common.cache.EHCacheReplayCache
add, add, contains, initComplete, postShutdown, preShutdown
-
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
-
-
-
-
Constructor Detail
-
CXFEHCacheReplayCache
public CXFEHCacheReplayCache(String key, Bus bus, Path diskstorePath) throws WSSecurityException
- Throws:
WSSecurityException
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classEHCacheReplayCache
-
-