what is method/producer ?
Answers
Answered by
3
Answer:
A producer method generates an object that can then be injected. Typically, you use producer methods in the following situations: When you want to inject an object that is not itself a bean. When the concrete type of the object to be injected may vary at runtime.
Answered by
0
Answer:
A producer method generates an object that can then be injected. Typically, you use producer methods in the following situations: When you want to inject an object that is not itself a bean. When the concrete type of the object to be injected may vary at runtime.
Similar questions