Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Injecting one artifact into another #171

Closed
follis opened this issue Aug 18, 2020 · 1 comment
Closed

Injecting one artifact into another #171

follis opened this issue Aug 18, 2020 · 1 comment

Comments

@follis
Copy link
Contributor

follis commented Aug 18, 2020

Spec should discuss what happens if you try to inject an artifact (e.g. a reader) into another one (e.g. a listener to let it call the reader to read something). This is just CDI bean injection and allowed, but…do you get the same instance as one you are already using? Or what? Spec should say something...

@scottkurz scottkurz added this to the Batch 2.1 (proposed) - EE 10 milestone Oct 5, 2021
@scottkurz
Copy link
Contributor

Having spent more time on CDI this release, I think it's best to avoid having the batch spec add wording around behavior that's purely defined by CDI. I'm tempted to want to clarify this but maybe this is really product doc, guides, and blog posts, etc.

Should it be in the TCK? I'm leaning towards no, for basically the same reasons. I could be wrong.. But I'm going to close for now, especially since it doesn't seem like anyone's going to do this for 2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants