@Order(value=-10) public class InitializeConnectionApplicationRunner extends Object implements org.springframework.boot.ApplicationRunner
ApplicationRunner
implementation that initialises the connection to the Data Flow Server.
Has higher precedence than DefaultShellApplicationRunner
so that it runs before any shell runner.
Constructor and Description |
---|
InitializeConnectionApplicationRunner(TargetHolder targetHolder,
ConfigCommands configCommands,
org.springframework.shell.result.ThrowableResultHandler resultHandler)
Construct a new InitializeConnectionApplicationRunner instance.
|
public InitializeConnectionApplicationRunner(TargetHolder targetHolder, ConfigCommands configCommands, org.springframework.shell.result.ThrowableResultHandler resultHandler)
targetHolder
- holds the target server connection infoconfigCommands
- commands to configure the serverresultHandler
- handles exceptions form the connection attemptCopyright © 2023 Pivotal Software, Inc.. All rights reserved.