public class RuntimeSpringConfigUtilities extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
private static java.lang.String |
DEVELOPMENT_SPRING_RESOURCES_XML |
|
static java.lang.String |
GRAILS_URL_MAPPINGS |
|
private static org.apache.commons.logging.Log |
LOG |
|
static java.lang.String |
SPRING_RESOURCES_CLASS |
|
static java.lang.String |
SPRING_RESOURCES_GROOVY |
|
static java.lang.String |
SPRING_RESOURCES_XML |
|
private static BeanBuilder |
springGroovyResourcesBeanBuilder |
Constructor and description |
---|
private RuntimeSpringConfigUtilities
() |
Type Params | Return Type | Name and description |
---|---|---|
|
private static void |
doLoadSpringGroovyResources(RuntimeSpringConfiguration config, GrailsApplication application, org.springframework.context.support.GenericApplicationContext context) Attempt to load the beans defined by a BeanBuilder DSL closure in "resources.groovy". |
|
public static void |
loadExternalSpringConfig(RuntimeSpringConfiguration config, GrailsApplication application) Loads any external Spring configuration into the given RuntimeSpringConfiguration object. |
|
public static void |
loadSpringGroovyResources(RuntimeSpringConfiguration config, GrailsApplication application) |
|
public static void |
loadSpringGroovyResourcesIntoContext(RuntimeSpringConfiguration config, GrailsApplication application, org.springframework.context.support.GenericApplicationContext context) |
|
public static BeanBuilder |
reloadSpringResourcesConfig(RuntimeSpringConfiguration config, GrailsApplication application, java.lang.Class<?> groovySpringResourcesClass) |
|
public static void |
reset() Resets the GrailsRumtimeConfigurator. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Attempt to load the beans defined by a BeanBuilder DSL closure in "resources.groovy".
Loads any external Spring configuration into the given RuntimeSpringConfiguration object.
config
- The config instanceResets the GrailsRumtimeConfigurator.