public class HerokuConnector extends AbstractCloudConnector<UriBasedServiceData>
serviceInfoCreators
Constructor and Description |
---|
HerokuConnector() |
Modifier and Type | Method and Description |
---|---|
ApplicationInstanceInfo |
getApplicationInstanceInfo()
Get information about the application instance.
|
protected FallbackServiceInfoCreator<BaseServiceInfo,UriBasedServiceData> |
getFallbackServiceInfoCreator() |
protected List<UriBasedServiceData> |
getServicesData()
Return object representation of the bound services
|
boolean |
isInMatchingCloud()
Is the connector operating in its matching cloud?
Classes such as
CloudFactory may use this method to select an appropriate connector. |
protected void |
registerServiceInfoCreator(ServiceInfoCreator<? extends ServiceInfo,UriBasedServiceData> serviceInfoCreator) |
getServiceInfos
public boolean isInMatchingCloud()
CloudConnector
CloudFactory
may use this method to select an appropriate connector.public ApplicationInstanceInfo getApplicationInstanceInfo()
CloudConnector
This method cannot return null
, since that would imply there is no application instance.
protected void registerServiceInfoCreator(ServiceInfoCreator<? extends ServiceInfo,UriBasedServiceData> serviceInfoCreator)
registerServiceInfoCreator
in class AbstractCloudConnector<UriBasedServiceData>
protected List<UriBasedServiceData> getServicesData()
Returns map whose key is the env key and value is the associated url
getServicesData
in class AbstractCloudConnector<UriBasedServiceData>
protected FallbackServiceInfoCreator<BaseServiceInfo,UriBasedServiceData> getFallbackServiceInfoCreator()
getFallbackServiceInfoCreator
in class AbstractCloudConnector<UriBasedServiceData>