1 package booking.model.bo; 2 3 import org.springframework.context.annotation.Bean; 4 import org.springframework.context.annotation.Configuration; 5 import org.springframework.context.annotation.Scope; 6 7 @Configuration 8 public class FactoryBO { 9 10 @Bean(name = { "servicesBO" }) 11 @Scope("singleton") 12 public ServicesBO servicesBO() { 13 return new ServicesBO(); 14 } 15 16 }