public final class GrailsConfigUtils extends Object
A common class where shared configurational methods can reside.
Type Params | Return Type | Name and description |
---|---|---|
|
public static void |
configureServletContextAttributes(ServletContext servletContext, GrailsApplication application, GrailsPluginManager pluginManager, WebApplicationContext webContext) |
|
public static void |
executeGrailsBootstraps(GrailsApplication application, WebApplicationContext webContext, ServletContext servletContext) Executes Grails bootstrap classes |
|
public static void |
executeGrailsBootstraps(GrailsApplication application, WebApplicationContext webContext, ServletContext servletContext, GrailsPluginManager grailsPluginManager) Executes Grails bootstrap classes |
|
public static boolean |
isConfigTrue(GrailsApplication application, String propertyName) Checks if a Config parameter is true or a System property with the same name is true |
Executes Grails bootstrap classes
application
- The Grails ApplicationContext instancewebContext
- The WebApplicationContext instanceservletContext
- The ServletContext instanceExecutes Grails bootstrap classes
application
- The Grails ApplicationContext instancewebContext
- The WebApplicationContext instanceservletContext
- The ServletContext instanceChecks if a Config parameter is true or a System property with the same name is true