@Configuration @ConditionalOnWebApplication @ConditionalOnMissingBean(value=org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration.class) @ConditionalOnClass(value=org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration.class) @Import(value=org.springframework.boot.autoconfigure.data.rest.SpringBootRepositoryRestMvcConfiguration.class) public class RepositoryRestMvcAutoConfiguration extends Object
Auto-configuration for Spring Data Rest's MVC
integration.
Activates when the application is a web application and no
RepositoryRestMvcConfiguration is found.
Once in effect, the auto-configuration allows to configure any property of
RepositoryRestConfiguration using the spring.data.rest prefix.
| Constructor and Description |
|---|
RepositoryRestMvcAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.autoconfigure.data.rest.SpringBootRepositoryRestConfigurer |
springBootRepositoryRestConfigurer() |
@Bean public org.springframework.boot.autoconfigure.data.rest.SpringBootRepositoryRestConfigurer springBootRepositoryRestConfigurer()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.