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

    Constructors
    Constructor
    Description
    CXFEHCacheReplayCache(String key, org.apache.cxf.Bus bus, Path diskstorePath)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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 Details

    • CXFEHCacheReplayCache

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

    • 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