|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsalto.batch.apiconsole.listener.AbstractBatchListener
public abstract class AbstractBatchListener
Base Class for implementation of BatchListener.
A Batch Listener is a callback class that get called when a batch start, ends, is vetoed.
PART OF PUBLIC API
Copyright Ubik-Ingenierie
| Constructor Summary | |
|---|---|
AbstractBatchListener()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getName()
|
void |
jobExecutionVetoed(BatchExecutionContext context)
Called by the Scheduler after a Batch has been executed |
void |
jobToBeExecuted(BatchExecutionContext context)
Called by the when a Batch
is about to be executed. |
void |
jobWasExecuted(BatchExecutionContext context,
BatchException jobException)
Called by the Scheduler after a Batch has been executed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBatchListener()
| Method Detail |
|---|
public abstract java.lang.String getName()
BatchListener
getName in interface BatchListenerString the name of the BatchListener.
BatchListener.getName()public void jobExecutionVetoed(BatchExecutionContext context)
BatchListenerCalled by the Scheduler after a Batch has been executed
jobExecutionVetoed in interface BatchListenercontext - BatchExecutionContextBatchListener.jobExecutionVetoed(salto.batch.lanceur.thread.BatchExecutionContext)public void jobToBeExecuted(BatchExecutionContext context)
BatchListener
Called by the when a BatchSchedulerBatch
is about to be executed.
jobToBeExecuted in interface BatchListenercontext - BatchExecutionContextBatchListener.jobToBeExecuted(salto.batch.lanceur.thread.BatchExecutionContext)
public void jobWasExecuted(BatchExecutionContext context,
BatchException jobException)
BatchListenerCalled by the Scheduler after a Batch has been executed
jobWasExecuted in interface BatchListenercontext - BatchExecutionContextjobException - BatchExceptionsalto.batch.apiconsole.listener.BatchListener#jobWasExecuted(salto.batch.lanceur.thread.BatchExecutionContext, salto.batch.lanceur.BatchException)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||