Package com.inesm.KeyManager
Class KeyManagerApplication
java.lang.Object
com.inesm.KeyManager.KeyManagerApplication
Entry point for the application
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidorg.springframework.boot.CommandLineRunnerschedulingRunner(org.springframework.core.task.TaskExecutor executor) Sets the command line runner.org.springframework.core.task.TaskExecutorDefines execution strategy.
-
Constructor Details
-
KeyManagerApplication
public KeyManagerApplication()
-
-
Method Details
-
main
-
taskExecutor
@Bean public org.springframework.core.task.TaskExecutor taskExecutor()Defines execution strategy.- Returns:
- task executor
-
schedulingRunner
@Bean public org.springframework.boot.CommandLineRunner schedulingRunner(org.springframework.core.task.TaskExecutor executor) Sets the command line runner. Defines the runnables to be executed.- Parameters:
executor- the task executor defining the execution strategy- Returns:
- the command line runner created
-