CloudConnector
implementations.ServiceConnectorCreator
s.CompositeServiceInfo
that should suffice in many situations.<cloud:data-source>
namespace element<cloud:mongo-db-factory>
namespace element<cloud:rabbit-connection-factory>
namespace element<cloud:redis-connection-factory>
namespace elementConfiguration
class to have a bean for each
service bound to the app as well as one for ApplicationInstanceInfo
added to
the application context.ApplicationInstanceInfo
UriInfo
based on a URI stringUriInfo
based on explicit components of the URIDataSource
object associated with the only relational database service bound to the app.DataSource
object associated with the only relational database service bound to the app
configured as specified.DataSource
object for the specified relational database service.DataSource
object for the specified relational database service configured as specified.ServiceInfoCreator
that can
accept service data.ServiceConnectorCreator
is available.<cloud:service>
namespaceDataSource
)ServiceInfo
for the given service idServiceInfo
s for the bound services that could be mapped to the given service connector type.ServiceInfo
s for services bound to the appMysqlServiceInfo
)UriInfoFactory
which will create the
appropriate URIs.CloudFactory
may use this method to select an appropriate connector.MongoDbFactory
object associated with the only MongoDB service bound to the app.MongoDbFactory
object associated with the only MongoDB service bound to the app
configured as specified.MongoDbFactory
object for the specified MongoDB service.MongoDbFactory
object for the specified MongoDB service configured as specified.ConnectionFactory
object associated with the only RabbitMQ service bound to the app.ConnectionFactory
object associated with the only RabbitMQ service bound to the app
configured as specified.ConnectionFactory
object for the specified RabbitMQ service.ConnectionFactory
object for the specified RabbitMQ service configured as specified.RedisConnectionFactory
object associated with the only Redis service bound to the app.RedisConnectionFactory
object associated with the only Redis service bound to the app
configured as specified.RedisConnectionFactory
object for the specified Redis service.RedisConnectionFactory
object for the specified Redis service configured as specified.<cloud:service connector-type="T.class"/>
element.<cloud:service service-id="serviceId" connector-type="T.class"/>
element.ServiceLoader
that ignores exception encountered when loading services.Configuration
class to have the services bound
to the app scanned and bean for each one added to the application context:
@Configuration @ServiceScan public class CloudConfiguration { // may (optionally) extend AbstractCloudConfiguration }
CloudFactory
bean if created in some other configuration is available, we should use
that.ServiceInfo
sUriInfo
s.Copyright © 2015 Pivotal Software, Inc.. All rights reserved.