@Configuration @ComponentScan @EnableAutoConfiguration @Import(value=minium.developer.fs.config.FileSystemConfiguration.class) public class Application extends Object implements org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer, org.springframework.boot.web.servlet.ServletContextInitializer
| Constructor and Description |
|---|
Application() |
| Modifier and Type | Method and Description |
|---|---|
void |
customize(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container) |
void |
initApplication()
Initializes miniumdev.
|
static void |
main(String[] args)
Main method, used to run the application.
|
void |
onStartup(javax.servlet.ServletContext servletContext) |
@PostConstruct public void initApplication() throws IOException
Spring profiles can be configured with a program arguments --spring.profiles.active=your-active-profile
IOExceptionpublic void customize(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container)
customize in interface org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerpublic static void main(String[] args) throws UnknownHostException
UnknownHostExceptionpublic void onStartup(javax.servlet.ServletContext servletContext)
throws javax.servlet.ServletException
onStartup in interface org.springframework.boot.web.servlet.ServletContextInitializerjavax.servlet.ServletExceptionCopyright © 2019 VILT Group. All rights reserved.