PdfPrep.com

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

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

Exit mobile version