|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.deegree_impl.services.AbstractHandler.Loop
The loop have to be started by the classes that extends AbstractHandler. This may be realized by overriding the methods handleRequest and handleResponse.
Field Summary | |
protected boolean |
stop
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
AbstractHandler.Loop()
|
Method Summary | |
protected void |
onStopped()
this method will be called after a loop has been stopped. |
protected abstract void |
process()
this method is called within the loop. |
void |
run()
overrides the run-methode declared within the Runnable-interface |
void |
stopLoop()
stops the loop resp. the Thread |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 boolean stop
Constructor Detail |
public AbstractHandler.Loop()
Method Detail |
public final void run()
protected void onStopped()
protected abstract void process()
public void stopLoop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |