Capable of bootstrapping a Grails project and returning the loaded ApplicationContext
Fields inherited from class | Fields |
---|---|
class BaseSettingsApi |
appClassName, buildEventListener, buildProps, buildSettings, configSlurper, enableProfile, grailsAppName, grailsHome, isInteractive, metadata, metadataFile, pluginSettings, pluginsHome, resolver |
Type | Name and description |
---|---|
org.springframework.context.ApplicationContext |
applicationContext |
boolean |
applicationLoaded |
org.springframework.context.ApplicationContext |
parentContext |
GrailsPluginManager |
pluginManager |
GrailsProjectPackager |
projectPackager |
javax.servlet.ServletContext |
servletContext |
Constructor and description |
---|
GrailsProjectLoader
(BuildSettings buildSettings) |
GrailsProjectLoader
(GrailsProjectPackager projectPackager) |
Type Params | Return Type | Name and description |
---|---|---|
|
org.springframework.context.ApplicationContext |
configureApplication() Configures the Grails application and builds an ApplicationContext |
|
protected void |
configureJndi(GrailsApplication grailsApplication) |
|
protected BeanBuilder |
defineParentBeans(WebBeanBuilder builder) |
|
GrailsApplication |
loadApplication() Loads the Grails application object @return |
|
protected void |
registerPluginManagerWithContext(org.springframework.context.ApplicationContext ctx) |
Configures the Grails application and builds an ApplicationContext
Loads the Grails application object
Groovy Documentation