batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <>
Subject [jira] [Commented] (BATCHEE-36) Befor- and AfterJob(Step)ScopeListener
Date Tue, 06 May 2014 08:32:15 GMT


Romain Manni-Bucau commented on BATCHEE-36:

well, to be honest I think we can keep it as it is today and add a CDI extension checking
if JobScoped/StepScoped are used. Then when we start the batch we can just add the listeners
automatically if needed without any config.

When I wrote this part the main issue was the config. I added something simple but it is clear
having to configure it manually is not the final solution.

> Befor- and AfterJob(Step)ScopeListener
> --------------------------------------
>                 Key: BATCHEE-36
>                 URL:
>             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

View raw message