parent

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

Add a parent application with the provided sources. Default args and environment are copied up into the parent, but everything else is a clean sheet.

Return

the parent builder

Parameters

sources

the sources for the application (Spring configuration)


Add an already running parent context to an existing application.

Return

the current builder (not the parent)

Parameters

parent

the parent context