GenericGroovyApplicationContext()
Create a new GenericGroovyApplicationContext that needs to be loaded and then manually refreshed.
GenericGroovyApplicationContext(vararg resources: Resource)
Create a new GenericGroovyApplicationContext, loading bean definitions from the given resources and automatically refreshing the context.
resources - the resources to load from
GenericGroovyApplicationContext(vararg resourceLocations: String)
Create a new GenericGroovyApplicationContext, loading bean definitions from the given resource locations and automatically refreshing the context.
resourceLocations - the resources to load from
GenericGroovyApplicationContext(relativeClass: Class<*>, vararg resourceNames: String)
Create a new GenericGroovyApplicationContext, loading bean definitions from the given resource locations and automatically refreshing the context.
relativeClass - class whose package will be used as a prefix when loading each specified resource name
resourceNames - relatively-qualified names of resources to load