@Configuration @ConditionalOnWebApplication @ConditionalOnMissingBean(value=org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration.class) @ConditionalOnClass(value=org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration.class) @Import(value=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.
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.