Package org.salespointframework
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.
@ComponentScan
- component scanning for classes annotated with@Component
,@Service
and@Repository
.@EnableAutoConfiguration
- Spring auto-configuration, in particular Spring Data JPA repositories and entities.
SalespointSecurityConfiguration
inside your configuration class. See the Videoshop sample for details.- Author:
- Oliver Gierke
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Optional Element Summary
-
Element Details
-
value
@AliasFor(annotation=org.springframework.modulith.Modulithic.class, attribute="systemName") String value- Default:
""
-