This mapper creates synthetic AggregatedResourceMeta instances for any bundle
names found in the resource declarations, and gathers up info about those resources
so that when the bundle itself is requested, the aggregated file is created and returned.
Resolve the normal link/resource attributes map (plugin, dir, file) to a link
relative to the host (not app context)
This is basically g.resource copied and pasted
This is a horrible hack to replicate what we need from g.resource() for pre-Grails 1.4 apps
where in Grails 1.4 we now have the wonderful grailsLinkGenerator bean
Find all url() and fix up the url if it is not absolute
NOTE: This needs to run after any plugins that move resources around, but before any that obliterate
the content i.e. before minify or gzip
Find all url() and fix up the url if it is not absolute
NOTE: This needs to run after any plugins that move resources around, but before any that obliterate
the content i.e. before minify or gzip
Find all url() and fix up the url if it is not absolute
NOTE: This needs to run after any plugins that move resources around, but before any that obliterate
the content i.e. before minify or gzip
Render the resources of the given module, and all its dependencies
Boolean attribute "deferred" determines whether or not the JS with "defer:true" gets rendered or not
Indicate that a page requires a named resource module
This is stored in the request until layoutResources is called, we then sort out what needs rendering or not later
Reset the resource state to how it was after loading from the module definition
i.e. keep only declared info, nothing generated later during processing
// @todo should we delete the file in here?
A special URI -> ResourceMeta store that is non-reentrant and will create
entries on demand, causing other threads to wait until the resource has been created
if creation has already started