@Documented @Target(value=TYPE) @Retention(value=RUNTIME) @Import(value={Salespoint.class,EnableSalespoint.SalespointWebAutoConfiguration.class,EnableSalespoint.SalespointSecurityAutoConfiguration.class}) @SpringBootApplication public @interface EnableSalespoint
Salespoint - to bootstrap core application components, repositories and services.SalespointWebConfiguration - web specific configuration, extensions to Spring MVC.SalespointSecurityConfiguration - security specific configuration.@ComponentScan - component scanning for classes annotated with @Component, @Service and
@Repository.@EnableAutoConfiguration - Spring auto-configuration, in particular Spring Data JPA repositories and
entities.SalespointWebConfiguration or
SalespointSecurityConfiguration inside your configuration class. See the Videoshop sample for details.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.