@Configuration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value={org.springframework.data.web.PageableHandlerMethodArgumentResolver.class,org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class}) @ConditionalOnMissingBean(value=org.springframework.data.web.PageableHandlerMethodArgumentResolver.class) @EnableConfigurationProperties(value=SpringDataWebProperties.class) @AutoConfigureAfter(value=RepositoryRestMvcAutoConfiguration.class) public class SpringDataWebAutoConfiguration extends ObjectSE
Auto-configuration。 実際には、自動構成は、EnableSpringDataWebSupport アノテーションを通じて Spring Data の Web サポートを有効にすることと同等です。
| コンストラクターと説明 |
|---|
SpringDataWebAutoConfiguration(SpringDataWebProperties properties) |
| 修飾子と型 | メソッドと説明 |
|---|---|
org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer | pageableCustomizer() |
org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer | sortCustomizer() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic SpringDataWebAutoConfiguration(SpringDataWebProperties properties)
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer pageableCustomizer()
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer sortCustomizer()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.