org.apache.wss4j.common.cache
Class ReplayCacheFactory

java.lang.Object
  extended by org.apache.wss4j.common.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(Object o)
           
static boolean isEhCacheInstalled()
           
static ReplayCacheFactory newInstance()
           
abstract  ReplayCache newReplayCache(String key, Object configuration)
           
 
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

public static boolean isEhCacheInstalled()

newInstance

public static ReplayCacheFactory newInstance()

newReplayCache

public abstract ReplayCache newReplayCache(String key,
                                           Object configuration)

getConfigFileURL

protected URL getConfigFileURL(Object o)


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.