|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
Daemon |
getDaemon(DaemonEntry entry)
Allows a Daemon to define its Thread priority through a factory. |
Daemon |
getDaemon(java.lang.String classname)
Get a daemon with the given classname. |
DaemonContext |
getDaemonContext()
|
DaemonEntry[] |
getDaemonEntries()
Get the current known DaemonEntries within the DaemonFactory |
DaemonEntry |
getDaemonEntry(java.lang.String name)
Given the name of a DaemonEntry... |
java.lang.String |
getMessage(DaemonEntry entry)
Get the last known message of the given DaemonEntry's processing |
int |
getResult(DaemonEntry entry)
Get the last known result of the given DaemonEntry's processing |
int |
getStatus(DaemonEntry entry)
|
void |
process(DaemonEntry entry)
Kicks of processing of a Daemon. |
void |
start()
Starts any daemons that need processing. |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public void start()
Starts any daemons that need processing.
This should be called right after init() so that any daemons that need to be started will be. If you need to do any per-daemon initialization then do so before calling start()
public Daemon getDaemon(DaemonEntry entry) throws DaemonException
DaemonException
public Daemon getDaemon(java.lang.String classname) throws DaemonException
DaemonException
getDaemon( DaemonEntry entry )
public DaemonContext getDaemonContext()
public void process(DaemonEntry entry) throws DaemonException
DaemonException
public int getStatus(DaemonEntry entry)
public int getResult(DaemonEntry entry)
public java.lang.String getMessage(DaemonEntry entry)
public DaemonEntry[] getDaemonEntries()
public DaemonEntry getDaemonEntry(java.lang.String name) throws DaemonNotFoundException
DaemonNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |