VMware 2V0-72.22 Exam - Topic 11 Question 67 Discussion
Refer to the exhibit.How can a Spring Bean be created from this LegacySingleton class?
A) Call LegacySingleton.getInstance() from within a @Bean method and return the instance.
B) Return an instance of LegacySingleton using the new keyword from a @Bean method.
C) It is not possible without modifying the LegacySingleton class, the constructor must be public.
D) Modify the LegacySingleton class by adding the @Autowired annotation to the instance variable.
Matilda
10 months agoMerilyn
10 months agoJamal
10 months agoZana
11 months agoMargery
11 months agoKandis
11 months agoLynda
11 months agoDell
11 months agoBrandon
12 months agoHollis
12 months agoLeonor
12 months agoCarman
12 months agoKeneth
12 months agoMitsue
2 years agoFiliberto
1 year agoGenevieve
1 year agoWilda
1 year agoAnthony
2 years agoBecky
2 years agoJoana
2 years agoSelma
2 years agoMargurite
2 years agoMyrtie
2 years agoHelene
2 years agoAnnita
2 years agoSkye
2 years agoAnnamaria
2 years agoSkye
2 years ago