public abstract class AbstractJobListener extends java.lang.Object implements JobListener
Constructor and Description |
---|
AbstractJobListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterJob()
Override this method if the JobListener
will do something after the job ends.
|
void |
beforeJob()
Override this method if the JobListener
will do something before the job begins.
|
public void beforeJob() throws java.lang.Exception
beforeJob
in interface JobListener
java.lang.Exception
- (or subclass) if an error occurs.public void afterJob() throws java.lang.Exception
afterJob
in interface JobListener
java.lang.Exception
- (or subclass) if an error occurs.