public class WebServiceListener extends TCPListener implements org.springframework.beans.factory.InitializingBean, net.sf.ehcache.event.CacheEventListener
Thread.State, Thread.UncaughtExceptionHandler| 限定符和类型 | 字段和说明 |
|---|---|
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| 构造器和说明 |
|---|
WebServiceListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ListenerIOExceptionWebServiceExceptionpublic void remove(OTPProxyRequest request)
public void put(WebServiceRequestObject obj)
public WebServiceRequestObject get(String username)
public Object clone() throws CloneNotSupportedException
clone 在接口中 net.sf.ehcache.event.CacheEventListenerclone 在类中 ThreadCloneNotSupportedExceptionpublic void dispose()
dispose 在接口中 net.sf.ehcache.event.CacheEventListenerpublic void notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementEvicted 在接口中 net.sf.ehcache.event.CacheEventListenerpublic void notifyElementExpired(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementExpired 在接口中 net.sf.ehcache.event.CacheEventListenerpublic void notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementPut 在接口中 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 在接口中 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 在接口中 net.sf.ehcache.event.CacheEventListenernet.sf.ehcache.CacheExceptionpublic void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
notifyRemoveAll 在接口中 net.sf.ehcache.event.CacheEventListenerpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 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 © 2016. All rights reserved.