From 266334d1db8dc501240751f6e59ba44d0b6b82db Mon Sep 17 00:00:00 2001 From: Ben Klein Date: Mon, 21 Sep 2015 10:35:22 -0400 Subject: [PATCH] correct paths in 'Adding Service Support' section --- docs/src/main/asciidoc/spring-cloud-connectors.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-connectors.adoc b/docs/src/main/asciidoc/spring-cloud-connectors.adoc index 27878cf..4bc6e02 100644 --- a/docs/src/main/asciidoc/spring-cloud-connectors.adoc +++ b/docs/src/main/asciidoc/spring-cloud-connectors.adoc @@ -266,7 +266,7 @@ See the https://github.com/spring-cloud/spring-cloud-connectors/tree/master/spri Spring Cloud uses the https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html[Java SPI] to discover available connectors. -To add new cloud connectors, your connector classes must implement the http://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/CloudConnector.html[`CloudConnector`] interface. It includes three methods: +Your connector classes must implement the http://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/CloudConnector.html[`CloudConnector`] interface. It includes three methods: * `boolean isInMatchingCloud()`: Determines whether the connector is operating in the cloud for which it provides support. + @@ -326,9 +326,9 @@ Register your `ServiceInfoCreator` classes in the appropriate provider-configura [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`. +|**Cloud Foundry** | Add the fully-qualified class name for your creator to `META-INF/services/org.springframework.cloud.cloudfoundry.CloudFoundryServiceInfoCreator`. +|**Heroku** | Add the fully-qualified class name for your creator to `META-INF/services/org.springframework.cloud.heroku.HerokuServiceInfoCreator`. +|**local-configuration** | Add the fully-qualified class name for your creator to `META-INF/services/org.springframework.cloud.localconfig.LocalConfigServiceInfoCreator`. |========================================================================================================================================================================= === Adding Service Connectors @@ -340,7 +340,7 @@ To allow Spring Cloud to provide framework-specific service objects for supporte 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: +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 getServiceConnectorType()`: Returns the type of the connection object that will be created.