org.springframework.boot.autoconfigure.couchbase

Class CouchbaseAutoConfiguration.CouchbaseConfiguration

  • java.lang.Object
    • org.springframework.boot.autoconfigure.couchbase.CouchbaseAutoConfiguration.CouchbaseConfiguration
    • Constructor Detail

    • Method Detail

      • couchbaseEnvironment

        @Bean
         @Primary
        public com.couchbase.client.java.env.DefaultCouchbaseEnvironment couchbaseEnvironment()
                                                                                                       throws Exception
        Throws:
        Exception
      • initializeEnvironmentBuilder

        protected com.couchbase.client.java.env.DefaultCouchbaseEnvironment.Builder initializeEnvironmentBuilder(CouchbaseProperties properties)
        Initialize an environment builder based on the specified settings.
        Parameters:
        properties - the couchbase properties to use
        Returns:
        the DefaultCouchbaseEnvironment builder.