public class CloudFoundryConnector extends AbstractCloudConnector<Map<String,Object>>
serviceInfoCreators| Constructor and Description |
|---|
CloudFoundryConnector() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationInstanceInfo |
getApplicationInstanceInfo()
Get information about the application instance.
|
protected FallbackServiceInfoCreator<BaseServiceInfo,Map<String,Object>> |
getFallbackServiceInfoCreator() |
protected List<Map<String,Object>> |
getServicesData()
Return object representation of the VCAP_SERIVCES environment variable
|
boolean |
isInMatchingCloud()
Is the connector operating in its matching cloud?
Classes such as
CloudFactory may use this method to select an appropriate connector. |
getServiceInfos, registerServiceInfoCreatorpublic boolean isInMatchingCloud()
CloudConnectorCloudFactory 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 List<Map<String,Object>> getServicesData()
Returns a list whose element is a map with service attributes.
getServicesData in class AbstractCloudConnector<Map<String,Object>>protected FallbackServiceInfoCreator<BaseServiceInfo,Map<String,Object>> getFallbackServiceInfoCreator()
getFallbackServiceInfoCreator in class AbstractCloudConnector<Map<String,Object>>