Which of the following statements about the FactoryBean interface is NOT true? (select one)

Posted by: Pdfprep Category: CoreSpringV3.2 Tags: , ,

Which of the following statements about the FactoryBean interface is NOT true? (select one)
A . A FactoryBean can be used to generate Spring beans of any type
B . The Spring configuration <property name="someValue" ref="myFactoryBeanImpl"/> will ALWAYS inject the instance of the FactoryBean implementation
C . FactoryBean is a Spring interface
D . Factory objects used in Spring do not necessarily have to implement the FactoryBean interface

Answer: B

Leave a Reply

Your email address will not be published.