Class ServerApplication

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

    @SpringBootApplication(exclude=org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration.class)
    @EnableJdbcRepositories(basePackages="app.coronawarn.server.common.persistence")
    @EntityScan(basePackages="app.coronawarn.server.common.persistence")
    @ComponentScan({"app.coronawarn.server.common.persistence","app.coronawarn.server.services.callback"})
    @EnableConfigurationProperties
    public class ServerApplication
    extends Object
    implements org.springframework.context.EnvironmentAware, org.springframework.beans.factory.DisposableBean
    • Constructor Detail

      • ServerApplication

        public ServerApplication()
    • Method Detail

      • main

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

        public void destroy()
        Manual shutdown hook needed to avoid Log4j shutdown issues (see cwa-server/#589).
        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