Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.ws.security.cache.ReplayCacheFactory
Direct Known Subclasses:
EHCacheReplayCacheFactory, MemoryReplayCacheFactory

public abstract class ReplayCacheFactory
extends Object

An abstract factory to return a ReplayCache instance. It returns an EHCacheReplayCacheFactory if EH-Cache is available. Otherwise it returns a MemoryReplayCacheFactory.


Constructor Summary
ReplayCacheFactory()
           
 
Method Summary
protected  URL getConfigFileURL(Message message)
           
protected static boolean isEhCacheInstalled()
           
static ReplayCacheFactory newInstance()
           
abstract  org.apache.ws.security.cache.ReplayCache newReplayCache(String key, Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplayCacheFactory

public ReplayCacheFactory()
Method Detail

isEhCacheInstalled

protected static boolean isEhCacheInstalled()

newInstance

public static ReplayCacheFactory newInstance()

newReplayCache

public abstract org.apache.ws.security.cache.ReplayCache newReplayCache(String key,
                                                                        Message message)

getConfigFileURL

protected URL getConfigFileURL(Message message)

Apache CXF API

Apache CXF