getServiceInfos() {
return cloudConnector.getServiceInfos();
@@ -98,8 +98,8 @@ public class Cloud {
*
*
* @param serviceConnectorType service connector type.
- * Passing null returns all {@link ServiceInfo}s (matching that of {@link Cloud#getServiceInfo()}
- * @return
+ * Passing null returns all {@link ServiceInfo}s (matching that of {@link Cloud#getServiceInfos()}
+ * @return information about services bound to the application that could be transformed into the given connector type
*/
public List getServiceInfos(Class serviceConnectorType) {
List allServiceInfos = getServiceInfos();
diff --git a/core/src/main/java/org/springframework/cloud/app/ApplicationInstanceInfo.java b/core/src/main/java/org/springframework/cloud/app/ApplicationInstanceInfo.java
index 2902e27..7bc3d2a 100644
--- a/core/src/main/java/org/springframework/cloud/app/ApplicationInstanceInfo.java
+++ b/core/src/main/java/org/springframework/cloud/app/ApplicationInstanceInfo.java
@@ -34,7 +34,7 @@ public interface ApplicationInstanceInfo {
*
* Typical properties could include hostname and port etc.
*
- * @return
+ * @return map of properties
*/
public Map getProperties();
}
diff --git a/core/src/main/java/org/springframework/cloud/service/ServiceConnectorCreator.java b/core/src/main/java/org/springframework/cloud/service/ServiceConnectorCreator.java
index e60c6ce..e6cd03f 100644
--- a/core/src/main/java/org/springframework/cloud/service/ServiceConnectorCreator.java
+++ b/core/src/main/java/org/springframework/cloud/service/ServiceConnectorCreator.java
@@ -13,8 +13,8 @@ public interface ServiceConnectorCreator {
* configuration
*
* @param serviceInfo
- * @param serviceConnectorConfiguration
- * @return
+ * @param serviceConnectorConfig
+ * @return service connector
*/
SC create(SI serviceInfo, ServiceConnectorConfig serviceConnectorConfig);
diff --git a/core/src/main/java/org/springframework/cloud/service/UriBasedServiceInfo.java b/core/src/main/java/org/springframework/cloud/service/UriBasedServiceInfo.java
index 206da94..79fa82f 100644
--- a/core/src/main/java/org/springframework/cloud/service/UriBasedServiceInfo.java
+++ b/core/src/main/java/org/springframework/cloud/service/UriBasedServiceInfo.java
@@ -71,8 +71,8 @@ public abstract class UriBasedServiceInfo extends BaseServiceInfo {
/**
* Validate the URI and clean it up by using defaults for any missing information, if possible.
*
- * @param uriInfo
- * @return
+ * @param uriInfo uri info based on parsed payload
+ * @return cleaned up uri info
*/
protected UriInfo validateAndCleanUriInfo(UriInfo uriInfo) {
return uriInfo;
diff --git a/heroku-connector/src/main/java/org/springframework/cloud/heroku/HerokuConnector.java b/heroku-connector/src/main/java/org/springframework/cloud/heroku/HerokuConnector.java
index 8149f12..374b7f8 100644
--- a/heroku-connector/src/main/java/org/springframework/cloud/heroku/HerokuConnector.java
+++ b/heroku-connector/src/main/java/org/springframework/cloud/heroku/HerokuConnector.java
@@ -18,7 +18,8 @@ import org.springframework.cloud.util.EnvironmentAccessor;
/**
* Implementation of CloudConnector for Heroku
*
- * Currently support only the Postgres service.
+ * Currently support Postgres (default provided), Mysql (Cleardb), MongoDb (MongoLab, MongoHQ, MongoSoup),
+ * Redis (RedisToGo, RedisCloud, OpenRedis, RedisGreen), and AMQP (CloudAmqp).
*
* @author Ramnivas Laddad
*
@@ -74,7 +75,7 @@ public class HerokuConnector extends AbstractCloudConnector
* Returns map whose key is the env key and value is the associated url
*
- * @return
+ * @return information about services bound to the app
*/
protected List getServicesData() {
List serviceData = new ArrayList();
diff --git a/spring-service-connector/src/main/java/org/springframework/cloud/config/java/AbstractCloudConfig.java b/spring-service-connector/src/main/java/org/springframework/cloud/config/java/AbstractCloudConfig.java
index 905ddaf..d91233e 100644
--- a/spring-service-connector/src/main/java/org/springframework/cloud/config/java/AbstractCloudConfig.java
+++ b/spring-service-connector/src/main/java/org/springframework/cloud/config/java/AbstractCloudConfig.java
@@ -47,12 +47,8 @@ public abstract class AbstractCloudConfig implements BeanFactoryAware {
* Get the cloud factory.
*
* Most applications will never need this method, but provided here to cover corner cases.
- *
- * Implementation note: This roundabout way of implementation is required to ensure that
- * a CloudFoundry bean if created in some other configuration is available, we should use
- * that.
*
- * @return
+ * @return cloud factory
*/
protected CloudFactory cloudFactory() {
return cloudFactory;
@@ -75,12 +71,16 @@ public abstract class AbstractCloudConfig implements BeanFactoryAware {
/**
* Get the object containing service and app properties
*
- * @return
*/
public Properties properties() {
return cloud().getCloudProperties();
}
-
+
+ /**
+ * Implementation note: This roundabout way of implementation is required to ensure that
+ * a {@link CloudFactory} bean if created in some other configuration is available, we should use
+ * that.
+ */
@Override
public void setBeanFactory(BeanFactory beanFactory) throws BeansException {
if (cloudFactory == null) {
diff --git a/spring-service-connector/src/main/java/org/springframework/cloud/service/AbstractCloudServiceConnectorFactory.java b/spring-service-connector/src/main/java/org/springframework/cloud/service/AbstractCloudServiceConnectorFactory.java
index 14bf336..8286e57 100644
--- a/spring-service-connector/src/main/java/org/springframework/cloud/service/AbstractCloudServiceConnectorFactory.java
+++ b/spring-service-connector/src/main/java/org/springframework/cloud/service/AbstractCloudServiceConnectorFactory.java
@@ -34,7 +34,6 @@ public abstract class AbstractCloudServiceConnectorFactory extends AbstractFa
/**
*
- * @param cloud
* @param serviceId Optional service name property. If this property is null, a unique service of the expected type
* (redis, for example) needs to be bound to the application.
* @param serviceConnectorType