|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.daemon.AppDaemonService
public final class AppDaemonService
this class provides methods to manage daemons services
Method Summary | |
---|---|
static Daemon |
getDaemon(java.lang.String strDaemonKey)
Gets a daemon object from its key name |
static java.util.Collection<DaemonEntry> |
getDaemonEntries()
Get the current known DaemonEntries within the DaemonFactory |
static void |
init()
Performs initialization of the DaemonFactory. |
static void |
registerDaemon(DaemonEntry entry)
Register a daemon by its entry |
static void |
shutdown()
Performs the shutdown of the DaemonFactory. |
static void |
startDaemon(java.lang.String strDaemonKey)
Starts a daemon |
static void |
stopDaemon(java.lang.String strDaemonKey)
Stops a daemon |
static void |
unregisterDaemon(java.lang.String strDaemonKey)
Unregister a daemon |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void init() throws LuteceInitException
LuteceInitException
- If an error occuredpublic static void registerDaemon(DaemonEntry entry) throws LuteceInitException
entry
- The daemon entry
LuteceInitException
- If an error occuredpublic static void unregisterDaemon(java.lang.String strDaemonKey)
strDaemonKey
- The daemon keypublic static void startDaemon(java.lang.String strDaemonKey)
strDaemonKey
- The daemon keypublic static void stopDaemon(java.lang.String strDaemonKey)
strDaemonKey
- The daemon keypublic static java.util.Collection<DaemonEntry> getDaemonEntries()
public static void shutdown()
public static Daemon getDaemon(java.lang.String strDaemonKey)
strDaemonKey
- The daemon key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |