|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.batch.api.listener.AbstractJobListener
public abstract class AbstractJobListener
The AbstractJobListener provides default implementations of less commonly implemented methods.
| Constructor Summary | |
|---|---|
AbstractJobListener()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractJobListener()
| Method Detail |
|---|
public void beforeJob()
throws java.lang.Exception
beforeJob in interface JobListenerjava.lang.Exception - (or subclass) if an error occurs.
public void afterJob()
throws java.lang.Exception
afterJob in interface JobListenerjava.lang.Exception - (or subclass) if an error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||