- All Known Implementing Classes:
AbstractJobListener
public interface JobListener
JobListener intercepts job execution.
-
Method Summary
void
The afterJob method receives control
after the job execution ends.
void
The beforeJob method receives control
before the job execution begins.
-
Method Details
-
beforeJob
The beforeJob method receives control
before the job execution begins.
- Throws:
Exception
- throw if an error occurs.
-
afterJob
The afterJob method receives control
after the job execution ends.
- Throws:
Exception
- throw if an error occurs.