public final class AppDaemonService extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static void |
cancelScheduledThread(String strEntryId)
Cancel scheduled thread (don't interrupt if it is running )
|
static Daemon |
getDaemon(String strDaemonKey)
Gets a daemon object from its key name
|
static Collection<DaemonEntry> |
getDaemonEntries()
Get the current known DaemonEntries within the DaemonFactory
|
static void |
init()
Performs initialization of the DaemonFactory.
|
static void |
modifyDaemonInterval(String strDaemonKey,
String strDaemonInterval)
modify daemon interval
|
static void |
registerDaemon(DaemonEntry entry)
Register a daemon by its entry
|
static void |
shutdown()
Performs the shutdown of the DaemonFactory.
|
static void |
startDaemon(String strDaemonKey)
Starts a daemon
|
static void |
stopDaemon(String strDaemonKey)
Stops a daemon
|
static void |
unregisterDaemon(String strDaemonKey)
Unregister a daemon
|
public static void init()
throws LuteceInitException
LuteceInitException - If an error occurredpublic static void registerDaemon(DaemonEntry entry) throws LuteceInitException
entry - The daemon entryLuteceInitException - If an error occurredpublic static void unregisterDaemon(String strDaemonKey)
strDaemonKey - The daemon keypublic static void startDaemon(String strDaemonKey)
strDaemonKey - The daemon keypublic static void stopDaemon(String strDaemonKey)
strDaemonKey - The daemon keypublic static void modifyDaemonInterval(String strDaemonKey, String strDaemonInterval)
strDaemonKey - The daemon keystrDaemonInterval - the daemon intervalprotected static void cancelScheduledThread(String strEntryId)
strEntryId - The DaemonEntry Idpublic static Collection<DaemonEntry> getDaemonEntries()
public static void shutdown()
Copyright © 2016 City of Paris. All rights reserved.