Friday, 6 September 2013

Referring a component bean in XML - Spring

Referring a component bean in XML - Spring

I have a bean A that's annotated as Component. I am creating a map in
Spring Config XML with the bean A as one of the values in the map. Is
there anyway i can avoid creating the bean A in the config xml and just
refer as it is annotated as Component.
Thanks.

No comments:

Post a Comment