public class HerokuConnector
extends org.springframework.cloud.AbstractCloudConnector<org.springframework.cloud.service.UriBasedServiceData>
| Constructor and Description |
|---|
HerokuConnector() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.app.ApplicationInstanceInfo |
getApplicationInstanceInfo() |
protected org.springframework.cloud.FallbackServiceInfoCreator<org.springframework.cloud.service.BaseServiceInfo,org.springframework.cloud.service.UriBasedServiceData> |
getFallbackServiceInfoCreator() |
protected java.util.List<org.springframework.cloud.service.UriBasedServiceData> |
getServicesData()
Return object representation of the bound services
|
boolean |
isInMatchingCloud() |
protected void |
registerServiceInfoCreator(org.springframework.cloud.ServiceInfoCreator<? extends org.springframework.cloud.service.ServiceInfo,org.springframework.cloud.service.UriBasedServiceData> serviceInfoCreator) |
public boolean isInMatchingCloud()
public org.springframework.cloud.app.ApplicationInstanceInfo getApplicationInstanceInfo()
protected void registerServiceInfoCreator(org.springframework.cloud.ServiceInfoCreator<? extends org.springframework.cloud.service.ServiceInfo,org.springframework.cloud.service.UriBasedServiceData> serviceInfoCreator)
registerServiceInfoCreator in class org.springframework.cloud.AbstractCloudConnector<org.springframework.cloud.service.UriBasedServiceData>protected java.util.List<org.springframework.cloud.service.UriBasedServiceData> getServicesData()
Returns map whose key is the env key and value is the associated url
getServicesData in class org.springframework.cloud.AbstractCloudConnector<org.springframework.cloud.service.UriBasedServiceData>protected org.springframework.cloud.FallbackServiceInfoCreator<org.springframework.cloud.service.BaseServiceInfo,org.springframework.cloud.service.UriBasedServiceData> getFallbackServiceInfoCreator()
getFallbackServiceInfoCreator in class org.springframework.cloud.AbstractCloudConnector<org.springframework.cloud.service.UriBasedServiceData>