public class ApplicationInstanceInfoCreator extends Object
Relies on SPRING_CLOUD_APP_NAME environment being set (using commands such as
heroku config:add SPRING_CLOUD_APP_NAME=myappname --app myappname
Constructor and Description |
---|
ApplicationInstanceInfoCreator(EnvironmentAccessor environmentAccessor) |
Modifier and Type | Method and Description |
---|---|
ApplicationInstanceInfo |
createApplicationInstanceInfo() |
public ApplicationInstanceInfoCreator(EnvironmentAccessor environmentAccessor)
public ApplicationInstanceInfo createApplicationInstanceInfo()