You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/05/05 19:22:16 UTC
[jira] [Commented] (BATCHEE-36) Befor- and
AfterJob(Step)ScopeListener
[ https://issues.apache.org/jira/browse/BATCHEE-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989728#comment-13989728 ]
Romain Manni-Bucau commented on BATCHEE-36:
-------------------------------------------
Hi
listeners are ordered. Scopes should be started first and closed last to be able to use them in other listeners. So this is needed.
> Befor- and AfterJob(Step)ScopeListener
> --------------------------------------
>
> Key: BATCHEE-36
> URL: https://issues.apache.org/jira/browse/BATCHEE-36
> Project: BatchEE
> Issue Type: Improvement
> Components: batchee-extensions
> Affects Versions: 0.2-incubating
> Reporter: Reinhard Sandtner
> Priority: Minor
>
> why do we provide an AfterJob(Step)ScopeListener and a BeforeJob(Step)ScopeListener?
> Isn't it enough to have only one JobScopeListener and StepScopeListener which implements both methods?
> {code}
> public void before(){...}
> public void after(){...}
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)