package devopsdistilled.operp.client.context.items; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import devopsdistilled.operp.client.items.controllers.BrandController; import devopsdistilled.operp.client.items.controllers.CategoryController; import devopsdistilled.operp.client.items.controllers.ItemController; import devopsdistilled.operp.client.items.controllers.ManufacturerController; import devopsdistilled.operp.client.items.controllers.ProductController; import devopsdistilled.operp.client.items.controllers.impl.BrandControllerImpl; import devopsdistilled.operp.client.items.controllers.impl.CategoryControllerImpl; import devopsdistilled.operp.client.items.controllers.impl.ItemControllerImpl; import devopsdistilled.operp.client.items.controllers.impl.ManufacturerControllerImpl; import devopsdistilled.operp.client.items.controllers.impl.ProductControllerImpl; @Configuration public class EntityControllerContext { @Bean public ItemController itemController() { return new ItemControllerImpl(); } @Bean public CategoryController categoryController() { return new CategoryControllerImpl(); } @Bean public ProductController productController() { return new ProductControllerImpl(); } @Bean public ManufacturerController manufacturerController() { return new ManufacturerControllerImpl(); } @Bean public BrandController brandController() { return new BrandControllerImpl(); } }