XmlServletWebServerApplicationContext

constructor()

Create a new XmlServletWebServerApplicationContext that needs to be loaded and then manually refreshed.


constructor(resources: Array<Resource>)

Create a new XmlServletWebServerApplicationContext, loading bean definitions from the given resources and automatically refreshing the context.

Parameters

resources

the resources to load from


constructor(resourceLocations: Array<String>)

Create a new XmlServletWebServerApplicationContext, loading bean definitions from the given resource locations and automatically refreshing the context.

Parameters

resourceLocations

the resources to load from


constructor(relativeClass: Class<out Any>, resourceNames: Array<String>)

Create a new XmlServletWebServerApplicationContext, loading bean definitions from the given resource locations and automatically refreshing the context.

Parameters

relativeClass

class whose package will be used as a prefix when loading eachspecified resource name

resourceNames

relatively-qualified names of resources to load