Class ContentStoreGroovyResourceLoader
java.lang.Object
org.craftercms.engine.util.groovy.ContentStoreGroovyResourceLoader
- All Implemented Interfaces:
groovy.lang.GroovyResourceLoader
public class ContentStoreGroovyResourceLoader
extends Object
implements groovy.lang.GroovyResourceLoader
Implementation of
ContentStoreGroovyResourceLoader
that uses Crafter
Core's content store to load Groovy resources.- Author:
- avasquez
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected SiteContext
protected ContentStoreUrlStreamHandler
-
Constructor Summary
ConstructorDescriptionContentStoreGroovyResourceLoader
(SiteContext siteContext, String groovyResourcesUrlPrefix) -
Method Summary
-
Field Details
-
siteContext
-
urlStreamHandler
-
groovyResourcesUrlPrefix
-
-
Constructor Details
-
ContentStoreGroovyResourceLoader
-
-
Method Details
-
loadGroovySource
- Specified by:
loadGroovySource
in interfacegroovy.lang.GroovyResourceLoader
- Throws:
MalformedURLException
-