spring-framework / org.springframework.context.support / GenericXmlApplicationContext / load

load

open fun load(vararg resources: Resource): Unit

Load bean definitions from the given XML resources.

Parameters

resources - one or more resources to load from

open fun load(vararg resourceLocations: String): Unit

Load bean definitions from the given XML resources.

Parameters

resourceLocations - one or more resource locations to load from

open fun load(relativeClass: Class<*>, vararg resourceNames: String): Unit

Load bean definitions from the given XML resources.

Parameters

relativeClass - class whose package will be used as a prefix when loading each specified resource name

resourceNames - relatively-qualified names of resources to load