public class AmqpServiceInfoCreator extends HerokuServiceInfoCreator<AmqpServiceInfo>
| Constructor and Description |
|---|
AmqpServiceInfoCreator() |
| Modifier and Type | Method and Description |
|---|---|
AmqpServiceInfo |
createServiceInfo(String id,
String uri) |
String[] |
getEnvPrefixes()
Get prefixes for env variable with which the associated
ServiceInfo may be created. |
accept, createServiceInfopublic AmqpServiceInfo createServiceInfo(String id, String uri)
createServiceInfo in class HerokuServiceInfoCreator<AmqpServiceInfo>public String[] getEnvPrefixes()
HerokuServiceInfoCreatorServiceInfo 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<AmqpServiceInfo>