public class EHCacheXKMSClientCache extends Object implements XKMSClientCache, BusLifeCycleListener
Constructor and Description |
---|
EHCacheXKMSClientCache() |
EHCacheXKMSClientCache(Bus cxfBus) |
EHCacheXKMSClientCache(String configFileURL) |
EHCacheXKMSClientCache(String configFileURL,
Bus cxfBus) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
XKMSCacheToken |
get(String key)
Get an XKMSCacheToken from the cache matching the given key.
|
void |
initComplete()
Invoked when the
Bus has been initialized. |
void |
postShutdown()
Invoked after the
Bus is shutdown. |
void |
preShutdown()
Invoked before the
Bus is shutdown. |
void |
put(String key,
XKMSCacheToken cacheToken)
Store an XKMSCacheToken in the Cache using the given key
|
public static final String CACHE_KEY
public EHCacheXKMSClientCache()
public EHCacheXKMSClientCache(Bus cxfBus)
public EHCacheXKMSClientCache(String configFileURL)
public void put(String key, XKMSCacheToken cacheToken)
put
in interface XKMSClientCache
public XKMSCacheToken get(String key)
get
in interface XKMSClientCache
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface XKMSClientCache
public void initComplete()
BusLifeCycleListener
Bus
has been initialized.initComplete
in interface BusLifeCycleListener
public void preShutdown()
BusLifeCycleListener
Bus
is shutdown.preShutdown
in interface BusLifeCycleListener
public void postShutdown()
BusLifeCycleListener
Bus
is shutdown.postShutdown
in interface BusLifeCycleListener
Apache CXF