Class CXFEHCacheReplayCache

  • All Implemented Interfaces:
    Closeable, AutoCloseable, BusLifeCycleListener, org.apache.wss4j.common.cache.ReplayCache

    public class CXFEHCacheReplayCache
    extends org.apache.wss4j.common.cache.EHCacheReplayCache
    implements BusLifeCycleListener
    Wrap the default WSS4J EHCacheReplayCache in a BusLifeCycleListener, to make sure that the cache is shutdown correctly.
    • Constructor Detail

      • CXFEHCacheReplayCache

        public CXFEHCacheReplayCache​(String key,
                                     Bus bus,
                                     Path diskstorePath)
                              throws org.apache.wss4j.common.ext.WSSecurityException
        Throws:
        org.apache.wss4j.common.ext.WSSecurityException
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Overrides:
        close in class org.apache.wss4j.common.cache.EHCacheReplayCache