sibling

open fun sibling(sources: Array<Class<out Any>>): SpringApplicationBuilder

Create a sibling application (one with the same parent). A side effect of calling this method is that the current application (and its parent) are started without any arguments if they are not already running. To supply arguments when starting the current application and its parent use sibling instead.

Return

the new sibling builder

Parameters

sources

the sources for the application (Spring configuration)


open fun sibling(sources: Array<Class<out Any>>, args: Array<String>): SpringApplicationBuilder

Create a sibling application (one with the same parent). A side effect of calling this method is that the current application (and its parent) are started if they are not already running.

Return

the new sibling builder

Parameters

sources

the sources for the application (Spring configuration)

args

the command line arguments to use when starting the current app and itsparent