2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.implementation.script
Class ScriptInvokerFactory
java.lang.Object
org.apache.tuscany.sca.implementation.script.ScriptInvokerFactory
- All Implemented Interfaces:
- InvokerFactory
public class ScriptInvokerFactory
- extends java.lang.Object
- implements InvokerFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptEngine
protected javax.script.ScriptEngine scriptEngine
xmlHelper
protected XMLHelper xmlHelper
rc
protected RuntimeComponent rc
ct
protected ComponentType ct
implementation
protected ScriptImplementation implementation
propertyFactory
protected PropertyValueObjectFactory propertyFactory
ScriptInvokerFactory
public ScriptInvokerFactory(RuntimeComponent rc,
ComponentType ct,
ScriptImplementation implementation,
PropertyValueObjectFactory propertyFactory)
- Parameters:
rc
- ct
- implementation
- propertyFactory
-
createInvoker
public Invoker createInvoker(Operation operation)
- Specified by:
createInvoker
in interface InvokerFactory
init
protected void init(RuntimeComponent rc,
ComponentType ct,
ScriptImplementation implementation,
PropertyValueObjectFactory propertyFactory)
createReferenceProxy
protected java.lang.Object createReferenceProxy(java.lang.String name,
RuntimeComponent component)
- TODO: RuntimeComponent should provide a method like this
getScriptEngineByExtension
protected javax.script.ScriptEngine getScriptEngineByExtension(java.lang.String scriptExtn)
- Hack for now to work around a problem with the JRuby script engine
pythonCachedir
protected void pythonCachedir()
- If the Python home isn't set then let Tuscany suppress messages other than errors
See TUSCANY-1950