about idref and prototype in Spring?

R

rmn190

in section of "3.3.3.1.1. The idref element" of Spring document,it is
said that "If the 'client' bean is a prototype bean, this typo (and
the resulting exception) may only be discovered long after the
container is actually deployed".i wonder that why the prototype bean
would make difference?

what special thing does the prototype bean have for this scenario?

Help,plz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top