@Configuration
@ImportResource(value={"classpath:powertac.xml","classpath:logtool.xml"})
@ComponentScan(value="org.powertac.visualizer")
@EnableAutoConfiguration(exclude={org.springframework.boot.actuate.autoconfigure.MetricFilterAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.MetricRepositoryAutoConfiguration.class,org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration.class})
@EnableConfigurationProperties(value={org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties.class,ApplicationProperties.class})
@EnableScheduling
public class Visualizer2App
extends Object
| Constructor and Description |
|---|
Visualizer2App(org.springframework.core.env.Environment env) |
| Modifier and Type | Method and Description |
|---|---|
void |
initApplication()
Initializes visualizer2.
|
static void |
main(String[] args)
Main method, used to run the application.
|
public Visualizer2App(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://jhipster.github.io/profiles/.
public static void main(String[] args) throws UnknownHostException
args - the command line argumentsUnknownHostException - if the local host name could not be resolved into an addressCopyright © 2017 Power TAC. All rights reserved.