org.springframework.boot.autoconfigure.data.couchbase

Class SpringBootCouchbaseConfigurer

  • java.lang.Object
    • org.springframework.boot.autoconfigure.data.couchbase.SpringBootCouchbaseConfigurer
  • All Implemented Interfaces:
    org.springframework.data.couchbase.config.CouchbaseConfigurer


    public class SpringBootCouchbaseConfigurer
    extends Object
    implements org.springframework.data.couchbase.config.CouchbaseConfigurer
    A simple CouchbaseConfigurer implementation.
    Since:
    1.4.0
    Author:
    Stephane Nicoll
    • Constructor Detail

      • SpringBootCouchbaseConfigurer

        public SpringBootCouchbaseConfigurer(com.couchbase.client.java.env.CouchbaseEnvironment env,
                                             com.couchbase.client.java.Cluster cluster,
                                             com.couchbase.client.java.cluster.ClusterInfo clusterInfo,
                                             com.couchbase.client.java.Bucket bucket)
    • Method Detail

      • couchbaseEnvironment

        public com.couchbase.client.java.env.CouchbaseEnvironment couchbaseEnvironment()
                                                                                throws Exception
        Specified by:
        couchbaseEnvironment in interface org.springframework.data.couchbase.config.CouchbaseConfigurer
        Throws:
        Exception
      • couchbaseCluster

        public com.couchbase.client.java.Cluster couchbaseCluster()
                                                           throws Exception
        Specified by:
        couchbaseCluster in interface org.springframework.data.couchbase.config.CouchbaseConfigurer
        Throws:
        Exception
      • couchbaseClusterInfo

        public com.couchbase.client.java.cluster.ClusterInfo couchbaseClusterInfo()
                                                                           throws Exception
        Specified by:
        couchbaseClusterInfo in interface org.springframework.data.couchbase.config.CouchbaseConfigurer
        Throws:
        Exception
      • couchbaseClient

        public com.couchbase.client.java.Bucket couchbaseClient()
                                                         throws Exception
        Specified by:
        couchbaseClient in interface org.springframework.data.couchbase.config.CouchbaseConfigurer
        Throws:
        Exception