public abstract class AbstractJobListener extends 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 Exception
beforeJob
in interface JobListener
Exception
- (or subclass) if an error occurs.public void afterJob() throws Exception
afterJob
in interface JobListener
Exception
- (or subclass) if an error occurs.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.