|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.deegree_impl.enterprise.AbstractOGCServlet.Reloader
Inner class that is used to monitor the configuration file (capabilities-file). If the file is altered, the service is signalled to reinitialize itself by a call to initService ().
Field Summary | |
private boolean |
doExit
|
private int |
freq
|
private long |
lastTS
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
protected |
AbstractOGCServlet.Reloader(java.lang.String capabilities,
java.lang.String freqStr)
Constructs a new Reloader-Object. |
Method Summary | |
void |
decease()
Kills the Reloader-Thread in a safe fashion. |
void |
run()
Called internally when this Thread is started. |
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 |
private long lastTS
private int freq
private boolean doExit
Constructor Detail |
protected AbstractOGCServlet.Reloader(java.lang.String capabilities, java.lang.String freqStr)
capabilities
- file that should be monitoredfreqStr
- check interval in seconds (as String)Method Detail |
public void decease()
public void run()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |