addPrimarySources

open fun addPrimarySources(additionalPrimarySources: Collection<Class<out Any>>)

Add additional items to the primary sources that will be added to an ApplicationContext when run is called.

The sources here are added to those that were set in the constructor. Most users should consider using getSources/setSources rather than calling this method.

Parameters

additionalPrimarySources

the additional primary sources to add

See also