public interface ServiceConnectionFactory
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.Cluster |
cluster()
Get the
Cluster object associated with the only Cassandra service bound to
the app. |
com.datastax.driver.core.Cluster |
cluster(CassandraClusterConfig config)
Get the
Cluster object associated with the only Cassandra service bound to
the app configured as specified. |
com.datastax.driver.core.Cluster |
cluster(java.lang.String serviceId)
Get the
Cluster object associated with the Cassandra serviceId
bound to the app. |
com.datastax.driver.core.Cluster |
cluster(java.lang.String serviceId,
CassandraClusterConfig config)
Get the
Cluster object associated with the Cassandra serviceId
bound to the app configured as specified. |
javax.sql.DataSource |
dataSource() |
javax.sql.DataSource |
dataSource(DataSourceConfig dataSourceConfig) |
javax.sql.DataSource |
dataSource(java.lang.String serviceId) |
javax.sql.DataSource |
dataSource(java.lang.String serviceId,
DataSourceConfig dataSourceConfig) |
org.springframework.data.mongodb.MongoDbFactory |
mongoDbFactory() |
org.springframework.data.mongodb.MongoDbFactory |
mongoDbFactory(MongoDbFactoryConfig mongoDbFactoryConfig) |
org.springframework.data.mongodb.MongoDbFactory |
mongoDbFactory(java.lang.String serviceId) |
org.springframework.data.mongodb.MongoDbFactory |
mongoDbFactory(java.lang.String serviceId,
MongoDbFactoryConfig mongoDbFactoryConfig) |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
rabbitConnectionFactory() |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
rabbitConnectionFactory(RabbitConnectionFactoryConfig rabbitConnectionFactoryConfig) |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
rabbitConnectionFactory(java.lang.String serviceId) |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
rabbitConnectionFactory(java.lang.String serviceId,
RabbitConnectionFactoryConfig rabbitConnectionFactoryConfig) |
org.springframework.data.redis.connection.RedisConnectionFactory |
redisConnectionFactory() |
org.springframework.data.redis.connection.RedisConnectionFactory |
redisConnectionFactory(PooledServiceConnectorConfig redisConnectionFactoryConfig) |
org.springframework.data.redis.connection.RedisConnectionFactory |
redisConnectionFactory(java.lang.String serviceId) |
org.springframework.data.redis.connection.RedisConnectionFactory |
redisConnectionFactory(java.lang.String serviceId,
PooledServiceConnectorConfig redisConnectionFactoryConfig) |
java.lang.Object |
service() |
<T> T |
service(java.lang.Class<T> serviceConnectorType) |
java.lang.Object |
service(java.lang.String serviceId) |
<T> T |
service(java.lang.String serviceId,
java.lang.Class<T> serviceConnectorType) |
<T> T |
service(java.lang.String serviceId,
java.lang.Class<T> serviceConnectorType,
org.springframework.cloud.service.ServiceConnectorConfig serviceConnectorConfig) |
javax.sql.DataSource dataSource()
javax.sql.DataSource dataSource(DataSourceConfig dataSourceConfig)
javax.sql.DataSource dataSource(java.lang.String serviceId)
javax.sql.DataSource dataSource(java.lang.String serviceId,
DataSourceConfig dataSourceConfig)
org.springframework.data.mongodb.MongoDbFactory mongoDbFactory()
org.springframework.data.mongodb.MongoDbFactory mongoDbFactory(MongoDbFactoryConfig mongoDbFactoryConfig)
org.springframework.data.mongodb.MongoDbFactory mongoDbFactory(java.lang.String serviceId)
org.springframework.data.mongodb.MongoDbFactory mongoDbFactory(java.lang.String serviceId,
MongoDbFactoryConfig mongoDbFactoryConfig)
org.springframework.amqp.rabbit.connection.ConnectionFactory rabbitConnectionFactory()
org.springframework.amqp.rabbit.connection.ConnectionFactory rabbitConnectionFactory(RabbitConnectionFactoryConfig rabbitConnectionFactoryConfig)
org.springframework.amqp.rabbit.connection.ConnectionFactory rabbitConnectionFactory(java.lang.String serviceId)
org.springframework.amqp.rabbit.connection.ConnectionFactory rabbitConnectionFactory(java.lang.String serviceId,
RabbitConnectionFactoryConfig rabbitConnectionFactoryConfig)
org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory()
org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory(PooledServiceConnectorConfig redisConnectionFactoryConfig)
org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory(java.lang.String serviceId)
org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory(java.lang.String serviceId,
PooledServiceConnectorConfig redisConnectionFactoryConfig)
com.datastax.driver.core.Cluster cluster()
Cluster object associated with the only Cassandra service bound to
the app.Clusterorg.springframework.cloud.CloudException - if there are either 0 or more than
1 Cassandra database services.com.datastax.driver.core.Cluster cluster(CassandraClusterConfig config)
Cluster object associated with the only Cassandra service bound to
the app configured as specified.config - configuration for the Cluster createdClusterorg.springframework.cloud.CloudException - if there are either 0 or more than
1 Cassandra database services.com.datastax.driver.core.Cluster cluster(java.lang.String serviceId)
Cluster object associated with the Cassandra serviceId
bound to the app.serviceId - the Cassandra serviceIdClusterorg.springframework.cloud.CloudException - if there is no service bound with
the serviceIdcom.datastax.driver.core.Cluster cluster(java.lang.String serviceId,
CassandraClusterConfig config)
Cluster object associated with the Cassandra serviceId
bound to the app configured as specified.serviceId - the Cassandra serviceIdconfig - configuration for the Cluster createdClusterorg.springframework.cloud.CloudException - if there is no service bound with
the serviceIdjava.lang.Object service()
<T> T service(java.lang.Class<T> serviceConnectorType)
java.lang.Object service(java.lang.String serviceId)
<T> T service(java.lang.String serviceId,
java.lang.Class<T> serviceConnectorType)
<T> T service(java.lang.String serviceId,
java.lang.Class<T> serviceConnectorType,
org.springframework.cloud.service.ServiceConnectorConfig serviceConnectorConfig)