Package de.dlr.proseo.ingestor
Class IngestorApplication
java.lang.Object
de.dlr.proseo.ingestor.IngestorApplication
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
@SpringBootApplication
@EnableConfigurationProperties
@ComponentScan(basePackages="de.dlr.proseo")
@EnableJpaRepositories(basePackages="de.dlr.proseo.model.dao")
public class IngestorApplication
extends Object
implements org.springframework.boot.CommandLineRunner
prosEO Ingestor application
- Author:
- Dr. Thomas Bassler
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) IngestorConfigurationIngestor configuration(package private) ProductIngestorThe product ingestor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the product ingestor configuration for the applicationReturns the product ingestor for the applicationstatic voidvoidvoidsetIngestorConfig(IngestorConfiguration ingestorConfig) Sets the product ingestor configuration for the applicationvoidsetProductIngestor(ProductIngestor productIngestor) Sets the product ingestor for the applicationvoidStarts the retention thread
-
Field Details
-
ingestorConfig
Ingestor configuration -
productIngestor
The product ingestor
-
-
Constructor Details
-
IngestorApplication
public IngestorApplication()
-
-
Method Details
-
getProductIngestor
Returns the product ingestor for the application- Returns:
- the product ingestor
-
setProductIngestor
Sets the product ingestor for the application- Parameters:
productIngestor- the product ingestor to set
-
getIngestorConfig
Returns the product ingestor configuration for the application- Returns:
- the ingestor configuration
-
setIngestorConfig
Sets the product ingestor configuration for the application- Parameters:
ingestorConfig- the ingestor configuration to set
-
main
- Throws:
Exception
-
run
- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner- Throws:
Exception
-
startDispatcher
public void startDispatcher()Starts the retention thread
-