Class Application


  • @SpringBootApplication
    @EnableJpaRepositories(basePackages="app.coronawarn.server.common.persistence")
    @EntityScan(basePackages="app.coronawarn.server.common.persistence")
    @ComponentScan({"app.coronawarn.server.common.persistence","app.coronawarn.server.services.distribution"})
    @EnableConfigurationProperties(DistributionServiceConfig.class)
    public class Application
    extends Object
    The retrieval, assembly and distribution of configuration and diagnosis key data is handled by a chain of ApplicationRunner instances. An unrecoverable failure in either one of them is terminating the chain execution.
    • Constructor Detail

      • Application

        public Application()
    • Method Detail

      • main

        public static void main​(String[] args)
      • killApplication

        public static void killApplication​(org.springframework.context.ApplicationContext appContext)
        Terminates this application with exit code 1 (general error).