public class WebServiceListener extends TCPListener implements org.springframework.beans.factory.InitializingBean, net.sf.ehcache.event.CacheEventListener
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected net.sf.ehcache.CacheManager |
cacheManager |
protected String |
cacheName |
protected Integer |
idleTime |
protected net.sf.ehcache.Ehcache |
requestCache |
protected Map |
requestMap |
protected Integer |
timeToLive |
active, backlog, config, keepAlive, keepAliveListeners, log, port, queue, requestObjectPool, requiresSSL, serverSocket, sslEnabledCiphers, sslEnabledProtocols, sslNeedClientAuth, sslWantClientAuth, usingSSLMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
WebServiceListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
clone() |
void |
dispose() |
WebServiceRequestObject |
get(String username) |
net.sf.ehcache.CacheManager |
getCacheManager() |
String |
getCacheName() |
Integer |
getIdleTime() |
net.sf.ehcache.Ehcache |
getRequestCache() |
Map |
getRequestMap() |
Integer |
getTimeToLive() |
void |
notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementExpired(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementRemoved(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementUpdated(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyRemoveAll(net.sf.ehcache.Ehcache cache) |
JRadiusEvent |
parseRequest(ListenerRequest listenerRequest,
ByteBuffer byteBuffer,
InputStream inputStream) |
void |
put(WebServiceRequestObject obj) |
void |
remove(OTPProxyRequest request) |
void |
setCacheManager(net.sf.ehcache.CacheManager cacheManager) |
void |
setCacheName(String cacheName) |
void |
setIdleTime(Integer idleTime) |
void |
setRequestCache(net.sf.ehcache.Ehcache requestCache) |
void |
setRequestMap(Map requestMap) |
void |
setTimeToLive(Integer timeToLive) |
deadKeepAliveListener, getActive, isKeepAlive, isUsingSSL, listen, run, setActive, setBacklog, setConfiguration, setConfiguration, setKeepAlive, setListenerConfigurationItem, setPort, setRequestQueue, setUsingSSLactiveCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected String cacheName
protected Map requestMap
protected net.sf.ehcache.CacheManager cacheManager
protected net.sf.ehcache.Ehcache requestCache
protected Integer timeToLive
protected Integer idleTime
public JRadiusEvent parseRequest(ListenerRequest listenerRequest, ByteBuffer byteBuffer, InputStream inputStream) throws IOException, WebServiceException
parseRequest in interface ListenerIOExceptionWebServiceExceptionpublic void remove(OTPProxyRequest request)
public void put(WebServiceRequestObject obj)
public WebServiceRequestObject get(String username)
public Object clone() throws CloneNotSupportedException
clone in interface net.sf.ehcache.event.CacheEventListenerclone in class ThreadCloneNotSupportedExceptionpublic void dispose()
dispose in interface net.sf.ehcache.event.CacheEventListenerpublic void notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementEvicted in interface net.sf.ehcache.event.CacheEventListenerpublic void notifyElementExpired(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementExpired in interface net.sf.ehcache.event.CacheEventListenerpublic void notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementPut in interface net.sf.ehcache.event.CacheEventListenernet.sf.ehcache.CacheExceptionpublic void notifyElementRemoved(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementRemoved in interface net.sf.ehcache.event.CacheEventListenernet.sf.ehcache.CacheExceptionpublic void notifyElementUpdated(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementUpdated in interface net.sf.ehcache.event.CacheEventListenernet.sf.ehcache.CacheExceptionpublic void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
notifyRemoveAll in interface net.sf.ehcache.event.CacheEventListenerpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic net.sf.ehcache.CacheManager getCacheManager()
public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
public String getCacheName()
public void setCacheName(String cacheName)
public Integer getIdleTime()
public void setIdleTime(Integer idleTime)
public net.sf.ehcache.Ehcache getRequestCache()
public void setRequestCache(net.sf.ehcache.Ehcache requestCache)
public Integer getTimeToLive()
public void setTimeToLive(Integer timeToLive)
public Map getRequestMap()
public void setRequestMap(Map requestMap)
Copyright © 2017. All rights reserved.