-
- All Known Implementing Classes:
AbstractJobListener
public interface JobListenerJobListener intercepts job execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterJob()The afterJob method receives control after the job execution ends.voidbeforeJob()The beforeJob method receives control before the job execution begins.
-
-
-
Method Detail
-
beforeJob
void beforeJob() throws java.lang.ExceptionThe beforeJob method receives control before the job execution begins.- Throws:
java.lang.Exception- throw if an error occurs.
-
afterJob
void afterJob() throws java.lang.ExceptionThe afterJob method receives control after the job execution ends.- Throws:
java.lang.Exception- throw if an error occurs.
-
-