|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.timeout.TimeoutManagerImpl
public class TimeoutManagerImpl
The workflow engine services relate to error management.
Constructor Summary | |
---|---|
TimeoutManagerImpl()
|
Method Summary | |
---|---|
void |
doTimeoutManagement()
This method is called periodically by the scheduler, it test for each peas of type processManager if associated model contains states with timeout events If so, all the instances of these peas that have the "timeout" states actives are read to check if timeout interval has been reached. |
void |
initialize()
Initialize timeout manager |
void |
jobFailed(SchedulerEvent anEvent)
Invoked when the normal execution thread of a job is broken by an exception. |
void |
jobSucceeded(SchedulerEvent anEvent)
Invoked when the execution of a job has been completed correctly. |
void |
triggerFired(SchedulerEvent anEvent)
Invoked when a job trigger fires the execution of a job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeoutManagerImpl()
Method Detail |
---|
public void initialize()
initialize
in interface TimeoutManager
public void doTimeoutManagement()
currentDate
- the date when the method is called by the schedulerfor parameters,
public void triggerFired(SchedulerEvent anEvent) throws Exception
SchedulerEventListener
triggerFired
in interface SchedulerEventListener
anEvent
- the event coming from the trigger firing.
Exception
public void jobSucceeded(SchedulerEvent anEvent)
SchedulerEventListener
jobSucceeded
in interface SchedulerEventListener
anEvent
- the event coming from the job completion.public void jobFailed(SchedulerEvent anEvent)
SchedulerEventListener
jobFailed
in interface SchedulerEventListener
anEvent
- the event coming from the job failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |