Ask questions and see you at October, 5th, 8.PM. CET: https://vimeo.com/event/154379
Also checkout recent episode:
Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.
Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks
Hi Adam,
How to update an injection point? Assume that we have a producer method that returns a type. Based on some business logic, I want to change the value of the injection sometimes at runtime.
I know that I can use
Instance<MyBusinessClass> injected
andinjcted.get()
but is there a visible penalty for creating each time a new instance? Are there any other solutions?Thank you,
Florin