Apache CXF API

org.apache.cxf.ws.security.tokenstore
Class TokenStoreFactory

java.lang.Object
  extended by org.apache.cxf.ws.security.tokenstore.TokenStoreFactory
Direct Known Subclasses:
EHCacheTokenStoreFactory, MemoryTokenStoreFactory

public abstract class TokenStoreFactory
extends Object

An abstract factory to return a TokenStore instance. It returns an EHCacheTokenStoreFactory if EH-Cache is available. Otherwise it returns a MemoryTokenStoreFactory.


Constructor Summary
TokenStoreFactory()
           
 
Method Summary
protected  URL getConfigFileURL(Message message)
           
protected static boolean isEhCacheInstalled()
           
static TokenStoreFactory newInstance()
           
abstract  TokenStore newTokenStore(String key, Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenStoreFactory

public TokenStoreFactory()
Method Detail

isEhCacheInstalled

protected static boolean isEhCacheInstalled()

newInstance

public static TokenStoreFactory newInstance()

newTokenStore

public abstract TokenStore newTokenStore(String key,
                                         Message message)

getConfigFileURL

protected URL getConfigFileURL(Message message)

Apache CXF API

Apache CXF