实践Spring Enable系列之EnableJpaRepositories
Annotation to enable JPA repositories. Will scan the package of the annotated configuration class for Spring Data repositories by default.
实践Spring Enable系列之EnableConfigurationProperties
@EnableConfigurationProperties enable support for @ConfigurationProperties annotated beans. @ConfigurationProperties beans can be registered in the standard way (for example using @Bean methods) or, for convenience, can be specified directly on this annotation.
实践Spring Enable系列之EnableAsync
EnableAsync
实践Spring Enable系列之EnableAspectJAutoProxy
1 | |
实践Spring Enable系列之EnableTransactionManagement
请移步-》实践Spring之事务
实践Spring Enable系列之EnableWebMVC
Adding this annotation to an @Configuration class imports the Spring MVC configuration from WebMvcConfigurationSupport, e.g.:
实践Spring Enable系列之EnableScheduling
Enables Spring’s scheduled task execution capability, similar to functionality found in Spring’s <task:*>XML namespace. To be used on @Configuration classes as follows:
实践Spring Enable系列之EnableCaching
##