@Configuration(proxyBeanMethods=false) @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() |
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.Cluster |
cassandraCluster(CassandraProperties properties,
ObjectProvider<ClusterBuilderCustomizer> builderCustomizers,
ObjectProvider<ClusterFactory> clusterFactory) |
@Bean @ConditionalOnMissingBean public com.datastax.driver.core.Cluster cassandraCluster(CassandraProperties properties, ObjectProvider<ClusterBuilderCustomizer> builderCustomizers, ObjectProvider<ClusterFactory> clusterFactory)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.