batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] [Updated] (BATCHEE-35) add a @PartitionScoped CDI scope
Date Mon, 05 May 2014 11:45:16 GMT


Mark Struberg updated BATCHEE-35:

    Summary: add a @PartitionScoped CDI scope  (was: add a CDI scope which spans a split execution)

> add a @PartitionScoped CDI scope
> --------------------------------
>                 Key: BATCHEE-35
>                 URL:
>             Project: BatchEE
>          Issue Type: New Feature
>          Components: batchee-extensions
>    Affects Versions: 0.2-incubating
>            Reporter: Mark Struberg
> We have @StepScoped, @JobScoped and from CDI itself we have @RequestScoped.
> If a Step gets executed in form of a Split, then we have multiple Threads running the
same Step. How do we account for that? A @StepScoped is too 'wide'.
> A @RequestScoped could probably work, but is there any chance that multiple steps use
the same thread without exiting them between two steps? 

This message was sent by Atlassian JIRA

View raw message