public abstract class HerokuServiceInfoCreator<SI extends org.springframework.cloud.service.ServiceInfo>
extends org.springframework.cloud.service.UriBasedServiceInfoCreator<SI>
| Constructor and Description |
|---|
HerokuServiceInfoCreator(java.lang.String... uriSchemes) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String[] |
getEnvPrefixes()
Get prefixes for env variable with which the associated
ServiceInfo may be created. |
public HerokuServiceInfoCreator(java.lang.String... uriSchemes)
public abstract java.lang.String[] getEnvPrefixes()
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.