public class PropertyManager
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
protected PropertyClientInterface[] |
clients |
protected long |
lastModified |
protected static SimpleLogger |
logger |
protected java.io.File |
propertyFile |
protected java.lang.String |
propertyFilePath |
| Constructor and Description |
|---|
PropertyManager(java.lang.String propertyFilePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PropertyClientInterface client) |
void |
addClients(PropertyClientInterface[] clients) |
void |
quit() |
protected void |
reload() |
void |
run() |
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, yieldprotected static final SimpleLogger logger
protected java.io.File propertyFile
protected long lastModified
protected final java.lang.String propertyFilePath
protected PropertyClientInterface[] clients
public PropertyManager(java.lang.String propertyFilePath)
propertyFilePath - protected void reload()
throws java.io.IOException
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void addClients(PropertyClientInterface[] clients)
clients - public void add(PropertyClientInterface client)
client - public void quit()