|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
net.jradius.server.JRadiusThread
net.jradius.server.Processor
public abstract class Processor
Base abstract class of all Processors
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Processor()
|
Method Summary | |
---|---|
org.springframework.context.ApplicationContext |
getApplicationContext()
|
EventDispatcher |
getEventDispatcher()
|
java.util.List<JRCommand> |
getRequestHandlers()
|
java.util.concurrent.BlockingQueue |
getRequestQueue()
|
boolean |
isActive()
|
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(java.util.List<JRCommand> handlers)
|
void |
setRequestQueue(java.util.concurrent.BlockingQueue<ListenerRequest> q)
Sets the request queue for this listener |
Methods inherited from class java.lang.Thread |
---|
activeCount, 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, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected org.springframework.context.ApplicationContext applicationContext
Constructor Detail |
---|
public Processor()
Method Detail |
---|
public void setRequestQueue(java.util.concurrent.BlockingQueue<ListenerRequest> q)
q
- the RequestQueue;public java.util.concurrent.BlockingQueue getRequestQueue()
public EventDispatcher getEventDispatcher()
public void setEventDispatcher(EventDispatcher eventDispatcher)
public void setRequestHandlers(java.util.List<JRCommand> handlers)
public java.util.List<JRCommand> getRequestHandlers()
protected abstract void processRequest(ListenerRequest listenerRequest) throws java.io.IOException, RadiusException
java.io.IOException
RadiusException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void process() throws java.lang.Exception, java.lang.InterruptedException
java.lang.Exception
java.lang.InterruptedException
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public boolean isActive()
public void setActive(boolean active)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |