Annotation Interface EnableSalespoint


@Documented @Target(TYPE) @Retention(RUNTIME) @Import(org.salespointframework.Salespoint.class) @ImportAutoConfiguration(SalespointSecurityAutoConfiguration.class) @EntityScan @Modulithic(sharedModules={"org.salespointframework.core","org.salespointframework.support","org.salespointframework.quantity","org.salespointframework.useraccount"}, additionalPackages="org.salespointframework", useFullyQualifiedModuleNames=true) @SpringBootApplication public @interface EnableSalespoint
Annotation to enable Salespoint for a Spring Boot application. Will make sure that all necessary Salespoint configuration is activated:
  • Salespoint - to bootstrap core application components, repositories and services.
  • SalespointSecurityConfiguration - security specific configuration.
On top of that the annotation also enables the following functionality for the package of the annotated class:
  • @ComponentScan - component scanning for classes annotated with @Component, @Service and @Repository.
  • @EnableAutoConfiguration - Spring auto-configuration, in particular Spring Data JPA repositories and entities.
To customize the security configuration setup, declare classes extending SalespointSecurityConfiguration inside your configuration class. See the Videoshop sample for details.
Author:
Oliver Gierke