- : This helps in wiring i.e. injecting a list of values, allowing duplicates.
Collection and sharing of, interview questions and answers asked in various interviews, faqs and articles.....
What are inner beans in Spring?
A element inside the or elements defines a so-called
inner bean. An inner bean definition does not require a defined id or name; the container ignores
these values. It also ignores the scope flag. Inner beans are always anonymous and they are
always scoped as prototypes.
How can you inject Java Collection in Spring?
Spring offers four types of collection configuration elements which are as follows:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment