@ComponentScan
@EnableAutoConfiguration(exclude={org.springframework.boot.actuate.autoconfigure.MetricFilterAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.MetricRepositoryAutoConfiguration.class})
@EnableConfigurationProperties(value={org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties.class,ApplicationProperties.class})
public class JhipsterSampleApplicationApp
extends java.lang.Object
| Constructor and Description |
|---|
JhipsterSampleApplicationApp(org.springframework.core.env.Environment env) |
| Modifier and Type | Method and Description |
|---|---|
void |
initApplication()
Initializes jhipsterSampleApplication.
|
static void |
main(java.lang.String[] args)
Main method, used to run the application.
|
public JhipsterSampleApplicationApp(org.springframework.core.env.Environment env)
@PostConstruct public void initApplication()
Spring profiles can be configured with a program arguments --spring.profiles.active=your-active-profile
You can find more information on how profiles work with JHipster on http://www.jhipster.tech/profiles/.
public static void main(java.lang.String[] args)
throws java.net.UnknownHostException
args - the command line argumentsjava.net.UnknownHostException - if the local host name could not be resolved into an addressCopyright © 2017 Osgiliath. All rights reserved.