public abstract class Processor extends JRadiusThread implements org.springframework.context.ApplicationContextAware
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Processor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getActive() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
EventDispatcher |
getEventDispatcher() |
List<JRCommand> |
getRequestHandlers() |
BlockingQueue<ListenerRequest> |
getRequestQueue() |
void |
process() |
protected abstract void |
processRequest(ListenerRequest listenerRequest) |
void |
run() |
void |
setActive(boolean active) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setEventDispatcher(EventDispatcher eventDispatcher) |
void |
setRequestHandlers(List<JRCommand> handlers) |
void |
setRequestQueue(BlockingQueue<ListenerRequest> q)
Sets the request queue for this listener
|
activeCount, checkAccess, clone, 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, yieldpublic void setRequestQueue(BlockingQueue<ListenerRequest> q)
q - the RequestQueue;public BlockingQueue<ListenerRequest> getRequestQueue()
public EventDispatcher getEventDispatcher()
public void setEventDispatcher(EventDispatcher eventDispatcher)
protected abstract void processRequest(ListenerRequest listenerRequest) throws Exception
Exceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwarepublic boolean getActive()
public void setActive(boolean active)
Copyright © 2017. All rights reserved.