anchor.diff:  ----
   dependencies {
   
  -    // to use Spring Cloud Connectors for development
  +    // To use Spring Cloud Connectors for development
       compile 'org.springframework.cloud:spring-cloud-localconfig-connector:${VERSION}'
       
       // If you intend to deploy the app to Cloud Foundry
  
positive.code: }
  ----
  
  Then follow the instructions in the <<Spring Cloud Spring Service Connector>> documentation on Spring configuration <<_the_java_configuration,using Java configuration>> or the <<_the_code_cloud_code_namespace,`<cloud>` namespace>>.
  
  === Non-Spring Applications
  
  
negative.code: }
  ----
  
  After creating the `ServiceInfo` class, you will need to create a `ServiceInfoCreator` for each cloud platform you want to support.  If you are adding service support for a cloud platform already supported by Spring Cloud Connectors, you will probably want to extend the appropriate creator base class(es).
  
  [cols="2,8", width="100%"]
  |==================================================================
  |**Cloud Foundry** | Extend `CloudFoundryServiceInfoCreator`.
  |**Heroku** | Extend `HerokuServiceInfoCreator`.
  |**local-configuration** | Extend `LocalConfigServiceInfoCreator`.
  |==================================================================
  
  A `ServiceInfoCreator` often can be as simple as a method that instantiates a new `ServiceInfo`.
  
  [source,java]
  ----
  @Override
  public HelloWorldServiceInfo createServiceInfo(String id, String uri) {
    return new HelloWorldServiceInfo(id, uri);
  }
  ----
  
  Register your `ServiceInfoCreator` classes in the appropriate provider-configuration file for your cloud's `ServiceInfoCreator` base class.
  
  [cols="2,8", width="100%"]
  |=========================================================================================================================================================================
  |**Cloud Foundry** | Add the fully-qualified class name for your creator to `META-INF/service/org.springframework.cloud.cloudfoundry.CloudFoundryServiceInfoCreator`.
  |**Heroku** | Add the fully-qualified class name for your creator to `META-INF/service/org.springframework.cloud.heroku.HerokuServiceInfoCreator`.
  |**local-configuration** | Add the fully-qualified class name for your creator to `META-INF/service/org.springframework.cloud.localconfig.LocalConfigServiceInfoCreator`.
  |=========================================================================================================================================================================
  
  === Adding Service Connectors
  
  To allow Spring Cloud to provide framework-specific service objects for supported cloud services, add a service connector for the framework. A service connector consumes a `ServiceInfo` discovered by the cloud connector and converts it into the appropriate service object (such as a `DataSource` in the case of a service definition that represents a SQL database).
  
  [TIP]
  ====
  Service connectors can be tightly bound to the framework whose service objects they are creating. For example, some connectors in the <<_spring_service_connector,Spring Service Connector>> create connection factories defined by Spring Data, for use in building Spring Data templates.
  ====
  
  To add new service connectors, your connector classes must implement the http://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/service/ServiceConnectorCreator.html[`ServiceConnectorCreator`] interface. It has three methods:
  
  * `SC create()`: Creates a service connection object from a given `ServiceInfo` and configuration.
  * `Class<SC> getServiceConnectorType()`: Returns the type of the connection object that will be created.
  * `Class<?> getServiceInfoType()`: Returns the type of the `ServiceInfo` that the class will accept.
  
  ////
  [source,java]
  ----
  public class Foo {
  
  }
  ----
  ////
  
  List the fully-qualified connector class names in the provider-configuration file at `META-INF/services/org.springframework.cloud.service.ServiceConnectorCreator`.
  
  