lait8904 / DALLE-HOODIE

0 stars 0 forks source link

Applying Spring Core #7

Open dmordvinov opened 2 years ago

dmordvinov commented 2 years ago
  1. Add spring core to dependencies
  2. All services/repositories, applicationContext convert to @Component
  3. Create Spring context on main method.
  4. Inject repositories, application context to services.
  5. Inject applicaitonContext to services,
  6. Inject services to DalliHoodieApplicaiton.
  7. Удалить создания объектов самостоятельно.