com.fatwire.gst.foundation.groovy
Class GroovyElementCatalogLoader

java.lang.Object
  extended by com.fatwire.gst.foundation.groovy.DiskGroovyLoader
      extended by com.fatwire.gst.foundation.groovy.GroovyElementCatalogLoader
All Implemented Interfaces:
GroovyLoader

public class GroovyElementCatalogLoader
extends DiskGroovyLoader

Loader for groovy script classes from the ElementCatalog

Since:
September 21,2012
Author:
Dolf Dijkstra

Constructor Summary
GroovyElementCatalogLoader(javax.servlet.ServletContext servletContext)
           
 
Method Summary
 void bootEngine(String path)
           
 Object load(String resourceName)
           
 
Methods inherited from class com.fatwire.gst.foundation.groovy.DiskGroovyLoader
doDir, getConfigPath, getGroovyScriptEngine, getMinimumRecompilationInterval, precompile, setConfigPath, setGroovyScriptEngine, setMinimumRecompilationInterval, toClassName, toScriptName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyElementCatalogLoader

public GroovyElementCatalogLoader(javax.servlet.ServletContext servletContext)
Method Detail

load

public Object load(String resourceName)
            throws Exception
Specified by:
load in interface GroovyLoader
Overrides:
load in class DiskGroovyLoader
Parameters:
resourceName - the name of the class
Returns:
the Object loaded by Groovy
Throws:
Exception

bootEngine

public void bootEngine(String path)
Overrides:
bootEngine in class DiskGroovyLoader


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.