@Singleton
public class ApplicationRunnerListener
extends java.lang.Object
ApplicationRunner
and CommandLineRunner
instances on startup.Modifier | Constructor and Description |
---|---|
protected |
ApplicationRunnerListener(io.micronaut.core.cli.CommandLine commandLine,
java.util.List<org.springframework.boot.CommandLineRunner> commandLineRunnerList,
java.util.List<org.springframework.boot.ApplicationRunner> applicationRunnerList)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
onStartup(io.micronaut.context.event.StartupEvent startupEvent)
Invokes on startup and executes the listeners.
|
protected ApplicationRunnerListener(io.micronaut.core.cli.CommandLine commandLine, java.util.List<org.springframework.boot.CommandLineRunner> commandLineRunnerList, java.util.List<org.springframework.boot.ApplicationRunner> applicationRunnerList)
commandLine
- The command linecommandLineRunnerList
- The command runner listapplicationRunnerList
- The application runner list