Skip to content
Discussion options

You must be logged in to vote

Would it be possible to declare this InjectionPoint in a previous build step so the first bean can be produced with the same logic ?

Unfortunately, you cannot define a synthetic injection point beforehand. Furthermore, the set of injection points accessible through the BeanDiscoveryFinishedBuildItem#getInjectionPoints() or SynthesisFinishedBuildItem#getInjectionPoints() is updated with synthetic injection points after all synthetic beans are registered.

I split the discovery and the requirement with an intermediate build item that other extensions can contribute to.

I'm not quite sure I understand this solution. Do I understand it correctly that the first extension produces a specific…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gsmet
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by scrocquesel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants