|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.xkms.cache.EHCacheXKMSClientCache
public class EHCacheXKMSClientCache
An in-memory EHCache implementation of the XKMSClientCache interface.
| Field Summary | |
|---|---|
static String |
CACHE_KEY
|
| Constructor Summary | |
|---|---|
EHCacheXKMSClientCache()
|
|
EHCacheXKMSClientCache(Bus cxfBus)
|
|
EHCacheXKMSClientCache(String configFileURL)
|
|
EHCacheXKMSClientCache(String configFileURL,
Bus cxfBus)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CACHE_KEY
| Constructor Detail |
|---|
public EHCacheXKMSClientCache()
public EHCacheXKMSClientCache(Bus cxfBus)
public EHCacheXKMSClientCache(String configFileURL)
public EHCacheXKMSClientCache(String configFileURL,
Bus cxfBus)
| Method Detail |
|---|
public void put(String key,
XKMSCacheToken cacheToken)
put in interface XKMSClientCachepublic XKMSCacheToken get(String key)
get in interface XKMSClientCachepublic void close()
close in interface Closeableclose in interface XKMSClientCachepublic void initComplete()
BusLifeCycleListenerBus has been initialized.
initComplete in interface BusLifeCycleListenerpublic void preShutdown()
BusLifeCycleListenerBus is shutdown.
preShutdown in interface BusLifeCycleListenerpublic void postShutdown()
BusLifeCycleListenerBus is shutdown.
postShutdown in interface BusLifeCycleListener
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||