Question: need answer IN JAVA8. NEED short answer(programme/code) kindly look the right side solution lines...and give answer.no need brefiely explain You are writing a new service

need answer IN JAVA8.
NEED short answer(programme/code) kindly look the right side solution lines...and give answer.no need brefiely explain
You are writing a new service for your e-commerce site. Your task is to write a Spring Framework configuration class. The class that you need to create will be called systemConfig. All required 5 import org.springframework.cantext.annotation. *; classes have already been imported for you. You are working with the Spring Framework version 5.1.8 and Java 8 . Requirements 1. Make it a Spring Framework Java-based Container configuration class: 2. Create a usersRepository bean. It has a no args constructor. Additionally, you should make sure that the method Userspepository.instalize() is called right after construction of the bean. 3. Create a Legaeypayinentsservice bean. it has a no args constructor. It should be available under the name paymentsSurvice. 4. Enable auto-scanning for beans in the oon codility utiIs package: 5. The application contains another configuration class that has already been prepared Mantenanceconfig. However, it's not being picked up by the Spring Context You should make sure its beans are also created by configuring the systenconfg class appropriately. 6. Ensure that properties defined in the production propertios file are available in the Spring context
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
