VMware Professional Develop VMware Spring 2V0-72.22 Question # 19 Topic 2 Discussion

VMware Professional Develop VMware Spring 2V0-72.22 Question # 19 Topic 2 Discussion

2V0-72.22 Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

Which is the correct approach to register for a bean destruction callback?


A.

Annotate the callback method with @PostDestroy.


B.

Annotate the callback method with @PreDestroy.


C.

Add the @Lazy annotation to the bean configuration.


D.

Configure the bean instance to use prototype scope.


Get Premium 2V0-72.22 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.