child

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

Create a child application with the provided sources. Default args and environment are copied down into the child, but everything else is a clean sheet.

Return

the child application builder

Parameters

sources

the sources for the application (Spring configuration)