To register for a bean destruction callback, one can (Select one)
A) Decorate the destroy method with @PreDestroy
B) Decorate the destroy method with @PreDestroy and add a <context:annotation-config /> xml declaration
C) Set the bean instance in a "prototype" scope
D) Set the lazy-init attribute within the <bean> tag
Correct Answer:
Verified
Q25: Which of the following statements is true
Q26: Identify the correct statement(s) about the following
Q27: Which of the following statements is NOT
Q28: Identify the correct statement about the following
Q29: Identify the correct statement(s) about the following
Q31: Which of the following statements is NOT
Q32: Which of the following statements best describes
Q33: Which of the following statements about Pointcut
Q34: Identify the correct statement(s) regarding the <aop:aspectj-autoproxy
Q35: Which of the following statements defines a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents