com.vmware.vip.LiteBootApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of singleton-manager-i18n-lite Show documentation
Show all versions of singleton-manager-i18n-lite Show documentation
A service that provides support for Software Internationalization and Localization
/*
* Copyright 2019-2023 VMware, Inc.
* SPDX-License-Identifier: EPL-2.0
*/
package com.vmware.vip;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@EnableScheduling
@ComponentScan(basePackages = { "com.vmware" })
public class LiteBootApplication {
public static void main(String[] args) throws Exception {
if (args.length > 0) {
for (String arg : args) {
if (arg.equalsIgnoreCase("-c")|| arg.equalsIgnoreCase("-clean")) {
System.setProperty("translation.bundle.file.clean", "true");
break;
}
}
} else {
System.setProperty("translation.bundle.file.clean", "false");
}
SpringApplication.run(LiteBootApplication.class, args);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy