Banner.Mode| Constructor and Description |
|---|
ResourceBanner(org.springframework.core.io.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getApplicationTitle(Class<?> sourceClass) |
protected String |
getApplicationVersion(Class<?> sourceClass) |
protected String |
getBootVersion() |
protected List<org.springframework.core.env.PropertyResolver> |
getPropertyResolvers(org.springframework.core.env.Environment environment,
Class<?> sourceClass) |
void |
printBanner(org.springframework.core.env.Environment environment,
Class<?> sourceClass,
PrintStream out)
Print the banner to the specified print stream.
|
public ResourceBanner(org.springframework.core.io.Resource resource)
public void printBanner(org.springframework.core.env.Environment environment,
Class<?> sourceClass,
PrintStream out)
BannerprintBanner in interface Bannerenvironment - the spring environmentsourceClass - the source class for the applicationout - the output print streamprotected List<org.springframework.core.env.PropertyResolver> getPropertyResolvers(org.springframework.core.env.Environment environment, Class<?> sourceClass)
protected String getBootVersion()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.