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,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.
-
Constructor Summary
ConstructorsConstructorDescriptionCXFEHCacheReplayCache(String key, org.apache.cxf.Bus bus, Path diskstorePath) -
Method Summary
Methods inherited from class org.apache.wss4j.common.cache.EHCacheReplayCache
add, add, contains, initComplete, postShutdown, preShutdownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.buslifecycle.BusLifeCycleListener
initComplete, postShutdown, preShutdown
-
Constructor Details
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classorg.apache.wss4j.common.cache.EHCacheReplayCache
-