Class JDBCJobListener
- java.lang.Object
-
- org.bonitasoft.engine.scheduler.impl.JDBCJobListener
-
- All Implemented Interfaces:
java.io.Serializable
,BonitaJobListener
public class JDBCJobListener extends java.lang.Object implements BonitaJobListener
- Author:
- Celine Souchet, Matthieu Chaffotte, Elias Ricken de Medeiros
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.bonitasoft.engine.scheduler.BonitaJobListener
BOS_JOB, JOB_DATAS, JOB_DESCRIPTOR_ID, JOB_GROUP, JOB_NAME, JOB_RESULT, JOB_TYPE, REFIRE_COUNT, TENANT_ID, TRIGGER_GROUP, TRIGGER_NAME, TRIGGER_NEXT_FIRE_TIME, TRIGGER_PREVIOUS_FIRE_TIME
-
-
Constructor Summary
Constructors Constructor Description JDBCJobListener(JobService jobService, SchedulerService schedulerService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
jobExecutionVetoed(java.util.Map<java.lang.String,java.io.Serializable> context)
void
jobToBeExecuted(java.util.Map<java.lang.String,java.io.Serializable> context)
void
jobWasExecuted(java.util.Map<java.lang.String,java.io.Serializable> context, java.lang.Exception jobException)
-
-
-
Constructor Detail
-
JDBCJobListener
public JDBCJobListener(JobService jobService, SchedulerService schedulerService)
-
-
Method Detail
-
jobToBeExecuted
public void jobToBeExecuted(java.util.Map<java.lang.String,java.io.Serializable> context)
- Specified by:
jobToBeExecuted
in interfaceBonitaJobListener
-
jobExecutionVetoed
public void jobExecutionVetoed(java.util.Map<java.lang.String,java.io.Serializable> context)
- Specified by:
jobExecutionVetoed
in interfaceBonitaJobListener
-
jobWasExecuted
public void jobWasExecuted(java.util.Map<java.lang.String,java.io.Serializable> context, java.lang.Exception jobException)
- Specified by:
jobWasExecuted
in interfaceBonitaJobListener
-
-