org.identityconnectors.common.script.groovy
Class GroovyScriptExecutorFactory

java.lang.Object
  extended by org.identityconnectors.common.script.ScriptExecutorFactory
      extended by org.identityconnectors.common.script.groovy.GroovyScriptExecutorFactory

public class GroovyScriptExecutorFactory
extends ScriptExecutorFactory

Creates a new ScriptExecutorFactory for executing Groovy scripts. Scripts are compiled at the creation of a new instance of ScriptExecutor.


Constructor Summary
GroovyScriptExecutorFactory()
          Make sure we blow up if Groovy does not exist.
 
Method Summary
 String getLanguageName()
          
 ScriptExecutor newScriptExecutor(ClassLoader loader, String script, boolean compile)
           Always compile the script.
 
Methods inherited from class org.identityconnectors.common.script.ScriptExecutorFactory
getSupportedLanguages, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyScriptExecutorFactory

public GroovyScriptExecutorFactory()
Make sure we blow up if Groovy does not exist.

Method Detail

newScriptExecutor

public ScriptExecutor newScriptExecutor(ClassLoader loader,
                                        String script,
                                        boolean compile)

Always compile the script.

Specified by:
newScriptExecutor in class ScriptExecutorFactory

getLanguageName

public String getLanguageName()

Specified by:
getLanguageName in class ScriptExecutorFactory


Copyright © 2011. All Rights Reserved.