Class RepositoriesAutoConfiguration

java.lang.Object
org.springframework.geode.boot.autoconfigure.RepositoriesAutoConfiguration

@SpringBootConfiguration @AutoConfigureAfter(ClientCacheAutoConfiguration.class) @ConditionalOnBean(org.apache.geode.cache.GemFireCache.class) @ConditionalOnClass(org.springframework.data.gemfire.repository.GemfireRepository.class) @ConditionalOnMissingBean({org.springframework.data.gemfire.repository.config.GemfireRepositoryConfigurationExtension.class,org.springframework.data.gemfire.repository.support.GemfireRepositoryFactoryBean.class}) @ConditionalOnProperty(prefix="spring.data.gemfire.repositories", name="enabled", havingValue="true", matchIfMissing=true) @Import(GemFireRepositoriesAutoConfigurationRegistrar.class) public class RepositoriesAutoConfiguration extends Object
Spring Boot auto-configuration for Spring Data for Apache Geode (SDG) Repositories. Activates when there is a bean of type Cache or ClientCache configured in the Spring context, the Spring Data Geode GemfireRepository type is on the classpath, and no other existing GemfireRepositories are configured. Once in effect, the auto-configuration is the equivalent of enabling Geode Repositories using the EnableGemfireRepositories annotation.
Since:
1.0.0
See Also:
  • Constructor Details

    • RepositoriesAutoConfiguration

      public RepositoriesAutoConfiguration()