Package de.dlr.proseo.ordermgr
Class OrderManager
java.lang.Object
de.dlr.proseo.ordermgr.OrderManager
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
@SpringBootApplication
@EnableConfigurationProperties
@ComponentScan(basePackages="de.dlr.proseo")
@EnableJpaRepositories(basePackages="de.dlr.proseo.model.dao")
public class OrderManager
extends Object
implements org.springframework.boot.CommandLineRunner
prosEO Order Manager application
- Author:
- Dr. Thomas Bassler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe job name prefix(package private) OrdermgrConfigurationThe Order Manager configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the order manager configurationReturns the processing order managerstatic voidThe entry point of the application.voidRun the dispatcher of the clean-up threadvoidsetProcOrderManager(ProcessingOrderMgr procOrderManager) Sets the processing order managervoidStart the cleanup thread
-
Field Details
-
orderManagerConfig
The Order Manager configuration -
jobNamePrefix
The job name prefix- See Also:
-
-
Constructor Details
-
OrderManager
public OrderManager()
-
-
Method Details
-
getProcOrderManager
Returns the processing order manager- Returns:
- the processing order manager
-
setProcOrderManager
Sets the processing order manager- Parameters:
procOrderManager- the processing order manager
-
getOrderManagerConfig
Returns the order manager configuration- Returns:
- the order manager configuration
-
main
The entry point of the application. Initializes and runs the Order Manager.- Parameters:
args- The command-line arguments passed to the application.- Throws:
Exception- if an error occurs during the execution.
-
run
Run the dispatcher of the clean-up thread- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner- Parameters:
args- The command-line arguments passed to the application.- Throws:
Exception
-
startDispatcher
public void startDispatcher()Start the cleanup thread
-