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