@Configuration @ConditionalOnClass(value=com.datastax.driver.core.Cluster.class) @EnableConfigurationProperties(value=CassandraProperties.class) public class CassandraAutoConfiguration extends Object
Auto-configuration
for Cassandra.Constructor and Description |
---|
CassandraAutoConfiguration(CassandraProperties properties,
org.springframework.beans.factory.ObjectProvider<List<ClusterBuilderCustomizer>> builderCustomizers) |
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.Cluster |
cluster() |
static <T> T |
instantiate(Class<T> type) |
public CassandraAutoConfiguration(CassandraProperties properties, org.springframework.beans.factory.ObjectProvider<List<ClusterBuilderCustomizer>> builderCustomizers)
@Bean @ConditionalOnMissingBean public com.datastax.driver.core.Cluster cluster()
public static <T> T instantiate(Class<T> type)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.