Class Application
- java.lang.Object
-
- app.coronawarn.server.services.federation.upload.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 Summary
Constructors Constructor Description Application()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
static void
killApplication(org.springframework.context.ApplicationContext appContext)
Terminates this application with exit code 1 (general error).static void
main(String[] args)
void
setEnvironment(org.springframework.core.env.Environment environment)
-
-
-
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 interfaceorg.springframework.beans.factory.DisposableBean
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironment
in interfaceorg.springframework.context.EnvironmentAware
-
-