Source:
<code>public SingleNodeApplication run(String... args) { System.out.println(BannerUtils.displayBanner(getClass().getSimpleName(), null)); ContainerBootstrapContext bootstrapContext = new ContainerBootstrapContext(new SingleNodeOptions()); SpringApplicationBuilder admin = new SpringApplicationBuilder(SingleNodeOptions.class, ParentConfiguration.class, SingleNodeApplication.class) .listeners(bootstrapContext.commandLineListener()) .profiles(AdminServerApplication.ADMIN_PROFILE, SINGLE_PROFILE) .child(SingleNodeOptions.class, AdminServerApplication.class) .listeners(bootstrapContext.commandLineListener()); admin.run(args); SpringApplicationBuilder container = admin .sibling(SingleNodeOptions.class, ContainerServerApplication.class) .profiles(ContainerServerApplication.NODE_PROFILE, SINGLE_PROFILE) .listeners(bootstrapContext.commandLineListener()) .listeners(bootstrapContext.sharedContextInitializers()) .child(CoreRuntimeConfiguration.class) .listeners(bootstrapContext.commandLineListener()) .web(false); container.run(args); adminContext = admin.context(); <START> coreContext = container.context(); <END> containerContext = (ConfigurableApplicationContext) coreContext.getParent(); SingleNodeApplication singleNodeApp = adminContext.getBean(SingleNodeApplication.class); if (singleNodeApp.controlTransport == ControlTransport.local) { setUpControlChannels(adminContext, coreContext); } return this; }</code><technical_language>a confused "coreContext" vs. "containerContext". I if core renamed "deployerContext" primarily lives there, ModuleDeployer. alternatively containerContext is renamed... sort of "extensions" context, right? (plugins, initializers, etc) ...or renamed, responsibility of is focus; "pluginContext" "deployerContext". sure</technical_language>

Target:
public SingleNodeApplication run(String... args) { System.out.println(BannerUtils.displayBanner(getClass().getSimpleName(), null)); ContainerBootstrapContext bootstrapContext = new ContainerBootstrapContext(new SingleNodeOptions()); SpringApplicationBuilder admin = new SpringApplicationBuilder(SingleNodeOptions.class, ParentConfiguration.class, SingleNodeApplication.class) .listeners(bootstrapContext.commandLineListener()) .profiles(AdminServerApplication.ADMIN_PROFILE, SINGLE_PROFILE) .child(SingleNodeOptions.class, AdminServerApplication.class) .listeners(bootstrapContext.commandLineListener()); admin.run(args); SpringApplicationBuilder container = admin .sibling(SingleNodeOptions.class, ContainerServerApplication.class) .profiles(ContainerServerApplication.NODE_PROFILE, SINGLE_PROFILE) .listeners(ApplicationUtils.mergeApplicationListeners(bootstrapContext.commandLineListener(), bootstrapContext.orderedContextInitializers())) .child(ContainerConfiguration.class) .listeners(bootstrapContext.commandLineListener()) .web(false); container.run(args); adminContext = admin.context(); containerContext = container.context(); pluginContext = (ConfigurableApplicationContext) containerContext.getParent(); SingleNodeApplication singleNodeApp = adminContext.getBean(SingleNodeApplication.class); if (singleNodeApp.controlTransport == ControlTransport.local) { setUpControlChannels(adminContext, containerContext); } return this; }