public class MysqlServiceInfoCreator extends RelationalServiceInfoCreator<MysqlServiceInfo>
Constructor and Description |
---|
MysqlServiceInfoCreator() |
Modifier and Type | Method and Description |
---|---|
MysqlServiceInfo |
createServiceInfo(String id,
String uri) |
String[] |
getEnvPrefixes()
Get prefixes for env variable with which the associated
ServiceInfo may be created. |
accept, createServiceInfo
public MysqlServiceInfo createServiceInfo(String id, String uri)
createServiceInfo
in class UriBasedServiceInfoCreator<MysqlServiceInfo>
public String[] getEnvPrefixes()
HerokuServiceInfoCreator
ServiceInfo
may be created.
Unlike CloudFoundry which exposes VCAP_SERVICES as a single environment to encompass all services bound
to the app, Heroku expose one environment variable per app. This method allows each info creator to declare
appropriate env variables.getEnvPrefixes
in class HerokuServiceInfoCreator<MysqlServiceInfo>