Groovy Documentation

Package org.codehaus.groovy.grails.support

 

Interface Summary
ParentApplicationContextAware Allows objects to be aware of the Grails parent application context.
PersistenceContextInterceptor Sets up the persistent context before and after a Grails operation is invoked.
 


Class Summary
ClassEditor Converts Strings to Class references for Spring.
CommandLineResourceLoader Loads locations starting with /WEB-INF from the Grails web-app directory.
DevelopmentResourceLoader Allows files references like /WEB-INF/grails-app to be loaded from .
DevelopmentShutdownHook A shutdown hook that closes the application context when CTRL+C is hit in dev mode.
GrailsByteArrayResource Hacky version of the ByteArrayResource that implements the getURL() method, required for the resource to work with Spring's ServletContextResource.
MockApplicationContext
MockApplicationContext.MockResource
MockFileResource Mocks the behavior of a FileResource.
MockResourceLoader Loads from the file system if its not found on the classpath.
MockStringResourceLoader Loads Resources from Strings that are registered as Mock resources.
NullPersistentContextInterceptor A dummy persistence context interceptor that does nothing.
ResourceAwareTemplateEngine An abstract TemplateEngine that extends the default Groovy TemplateEngine (@see groovy.text.TemplateEngine) and provides the ability to create templates from the Spring Resource API
SimpleMapResourceLoader Simple implementation of the ResourceLoader interface that uses a Map to load resources.
SoftThreadLocalMap Creates a InheritableThreadLocal with an intial value of a Map.
StaticResourceLoader A ResourceLoader that loads resources from a statically defined base resource.
 


Groovy Documentation