Class CouchbaseAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.couchbase.CouchbaseAutoConfiguration
@AutoConfiguration(after=JacksonAutoConfiguration.class)
@ConditionalOnClass(com.couchbase.client.java.Cluster.class)
@Conditional(org.springframework.boot.autoconfigure.couchbase.CouchbaseAutoConfiguration.CouchbaseCondition.class)
@EnableConfigurationProperties(CouchbaseProperties.class)
public class CouchbaseAutoConfiguration
extends Object
Auto-configuration
for Couchbase.- Since:
- 1.4.0
- Author:
- EddĂș MelĂ©ndez, Stephane Nicoll, Yulin Qin, Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptioncom.couchbase.client.java.Cluster
couchbaseCluster
(com.couchbase.client.java.env.ClusterEnvironment couchbaseClusterEnvironment) com.couchbase.client.java.env.ClusterEnvironment
-
Method Details
-
couchbaseClusterEnvironment
@Bean @ConditionalOnMissingBean public com.couchbase.client.java.env.ClusterEnvironment couchbaseClusterEnvironment(ObjectProvider<ClusterEnvironmentBuilderCustomizer> customizers) -
couchbaseCluster
@Bean(destroyMethod="disconnect") @ConditionalOnMissingBean public com.couchbase.client.java.Cluster couchbaseCluster(com.couchbase.client.java.env.ClusterEnvironment couchbaseClusterEnvironment)
-