Interface JobListener

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Nested | 
Field | 
Constr | 
Method

Detail: 
Field | 
Constr | 
Method

javax.batch.api.listener
Interface JobListener

All Known Implementing Classes:
    AbstractJobListener


public interface JobListener

JobListener intercepts job execution.

    Method Summary
    All MethodsInstance MethodsAbstract Methods Modifier and Type 	Method and Description
    void 	afterJob()
    The afterJob method receives control after the job execution ends.
    void 	beforeJob()
    The beforeJob method receives control before the job execution begins.

    Method Detail
        beforeJob

        void beforeJob()
                throws Exception

        The beforeJob method receives control before the job execution begins.

        Throws:
            Exception - throw if an error occurs.

        afterJob

        void afterJob()
               throws Exception

        The afterJob method receives control after the job execution ends.

        Throws:
            Exception - throw if an error occurs.

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Nested | 
Field | 
Constr | 
Method

Detail: 
Field | 
Constr | 
Method

Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

发布了133 篇原创文章 · 获赞 191 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105717868
今日推荐