Apache CXF API

org.apache.cxf.ws.security.cache
Class CXFEHCacheReplayCache

java.lang.Object
  extended by org.apache.wss4j.common.cache.EHCacheReplayCache
      extended by org.apache.cxf.ws.security.cache.CXFEHCacheReplayCache
All Implemented Interfaces:
Closeable, 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.


Field Summary
 
Fields inherited from class org.apache.wss4j.common.cache.EHCacheReplayCache
cache, cacheManager, DEFAULT_TTL, MAX_TTL, ttl
 
Constructor Summary
CXFEHCacheReplayCache(String key, Bus bus, URL configFileURL)
           
 
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
 

Constructor Detail

CXFEHCacheReplayCache

public CXFEHCacheReplayCache(String key,
                             Bus bus,
                             URL configFileURL)
Method Detail

close

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

Apache CXF API

Apache CXF