Class Visualizer2App

java.lang.Object
org.powertac.visualizer.Visualizer2App

@Configuration
@ImportResource({"classpath:powertac.xml","classpath:logtool.xml"})
@ComponentScan("org.powertac.visualizer")
@EnableAutoConfiguration(exclude=org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration.class)
@EnableConfigurationProperties({org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties.class,ApplicationProperties.class})
@EnableScheduling
public class Visualizer2App
extends Object
  • Constructor Details

    • Visualizer2App

      public Visualizer2App​(org.springframework.core.env.Environment env)
  • Method Details

    • initApplication

      @PostConstruct public void initApplication()
      Initializes visualizer2.

      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/.

    • main

      public static void main​(String[] args) throws UnknownHostException
      Main method, used to run the application.
      Parameters:
      args - the command line arguments
      Throws:
      UnknownHostException - if the local host name could not be resolved into an address