public class EHCacheXKMSClientCache extends Object implements XKMSClientCache, BusLifeCycleListener
| Constructor and Description | 
|---|
EHCacheXKMSClientCache()  | 
EHCacheXKMSClientCache(Bus cxfBus)  | 
EHCacheXKMSClientCache(Bus cxfBus,
                      Path diskstorePath,
                      long diskSize,
                      long heapEntries,
                      boolean persistent)  | 
| 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 EHCacheXKMSClientCache()
                       throws XKMSClientCacheException
XKMSClientCacheExceptionpublic EHCacheXKMSClientCache(Bus cxfBus) throws XKMSClientCacheException
XKMSClientCacheExceptionpublic EHCacheXKMSClientCache(Bus cxfBus, Path diskstorePath, long diskSize, long heapEntries, boolean persistent) throws XKMSClientCacheException
XKMSClientCacheExceptionpublic 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 AutoCloseableclose 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 BusLifeCycleListenerApache CXF