Class ScriptTransformationServiceFactory
java.lang.Object
org.openhab.core.automation.module.script.ScriptTransformationServiceFactory
The
ScriptTransformationServiceFactory
registers a ScriptTransformationService
for each newly added script engine.- Author:
- Jimmy Tanagra - Initial contribution
-
Constructor Summary
ConstructorDescriptionScriptTransformationServiceFactory
(org.osgi.service.component.ComponentFactory<ScriptTransformationService> factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setScriptEngineFactory
(ScriptEngineFactory engineFactory) AsScriptEngineFactory
s are added/removed, this method will cache all available script types and registers a transformation service for the script engine.void
unsetScriptEngineFactory
(ScriptEngineFactory engineFactory)
-
Constructor Details
-
ScriptTransformationServiceFactory
public ScriptTransformationServiceFactory(org.osgi.service.component.ComponentFactory<ScriptTransformationService> factory)
-
-
Method Details
-
deactivate
public void deactivate() -
setScriptEngineFactory
AsScriptEngineFactory
s are added/removed, this method will cache all available script types and registers a transformation service for the script engine. -
unsetScriptEngineFactory
-