Package org.salespointframework
Annotation Type EnableSalespoint
@Documented @Target(TYPE) @Retention(RUNTIME) @Import(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.SalespointWebConfiguration- web specific configuration, extensions to Spring MVC.SalespointSecurityConfiguration- security specific configuration.
@ComponentScan- component scanning for classes annotated with@Component,@Serviceand@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.- Author:
- Oliver Gierke
-
Element Details
-
value
- Default:
- ""
-