Class Application

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.context.EnvironmentAware

    @SpringBootApplication
    @EnableJdbcRepositories(basePackages={"app.coronawarn.server.common.persistence","app.coronawarn.server.services.federation.upload.testdata"})
    @EntityScan(basePackages="app.coronawarn.server.common.persistence")
    @ComponentScan({"app.coronawarn.server.common.persistence","app.coronawarn.server.services.federation.upload","app.coronawarn.server.common.federation.client"})
    @EnableConfigurationProperties(UploadServiceConfig.class)
    public class Application
    extends Object
    implements org.springframework.context.EnvironmentAware, org.springframework.beans.factory.DisposableBean
    Service responsible for creating batches of diagnosis keys and uploading them to the Federation Gateway conforming to the EU specification. Its source of data is a dedicated table where diagnosis keys are replicated during the submission process.
    • 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).
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware