Added test for previous commit

This commit is contained in:
Oleg Zhurakousky
2019-08-19 18:09:55 +02:00
parent 611758fbd3
commit 7eb8cac663
3 changed files with 24 additions and 0 deletions

View File

@@ -187,6 +187,9 @@ class FunctionArchiveDeployer extends JarLauncher {
private boolean isBootApplicationWithMain() {
try {
if (this.getArchive().getManifest() == null) {
return false;
}
return StringUtils.hasText(this.getArchive().getManifest().getMainAttributes().getValue("Start-Class"));
}
catch (Exception e) {

View File

@@ -46,6 +46,7 @@ import org.springframework.core.env.ConfigurableEnvironment;
* and {@link SmartLifecycle#stop()} operations.
* <br>
* @author Oleg Zhurakousky
* @author Eric Bottard
*
* @since 3.0
*