CoreSpringV3.2 Core-Spring (based on Spring 3.2)

Loading demo links...

Showing 1–3 of 10 questions

Question 1

Which of the following statements about the BeanFactoryPostProcessor are true? (select one or several answers)

Select all that apply, then click Submit answer.

  • Allows for the transformation of Spring bean definitions before the beans are instantiated

  • Allows for the transformation of Spring beans after the beans have been instantiated

  • Detects annotations such as @PostConstruct and @PreDestroy and then invokes appropriate behavior

  • The tag causes a BeanFactoryPostProcessor to be created

Question 2

What is true regarding bean definition inheritance?

Select all that apply, then click Submit answer.

  • Parent bean definitions should always be abstract

  • Parent bean definitions may be abstract

  • The class attribute can be declared in a parent bean definition

  • It is not useful to declare an id for a parent bean definition

Question 3

Which of the following are valid mechanisms of autowiring a dependency when multiple beans match the dependency’s type? (Select one or several answers)

Select all that apply, then click Submit answer.

  • Use of the @Qualifier and @Autowired annotations together on a field

  • Use of the @Qualifier and @Autowired annotations together with setter methods

  • Use of the @Qualifier annotation solely