Class SlingScriptEngineManager
java.lang.Object
javax.script.ScriptEngineManager
org.apache.sling.scripting.core.impl.jsr223.SlingScriptEngineManager
- All Implemented Interfaces:
EventListener
,org.osgi.framework.BundleListener
public class SlingScriptEngineManager
extends ScriptEngineManager
implements org.osgi.framework.BundleListener
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bundleChanged
(org.osgi.framework.BundleEvent event) getEngineByExtension
(String extension) getEngineByMimeType
(String mimeType) getEngineByName
(String shortName) getEnginesByExtension
(String extension) getEnginesByMimeType
(String mimeType) getEnginesByName
(String shortName) getServiceProperties
(ScriptEngineFactory factory) void
registerEngineExtension
(String extension, ScriptEngineFactory factory) void
registerEngineMimeType
(String type, ScriptEngineFactory factory) void
registerEngineName
(String name, ScriptEngineFactory factory) Methods inherited from class javax.script.ScriptEngineManager
get, getBindings, put, setBindings
-
Constructor Details
-
SlingScriptEngineManager
public SlingScriptEngineManager()
-
-
Method Details
-
getEngineByName
- Overrides:
getEngineByName
in classScriptEngineManager
-
getEnginesByName
-
getEngineByExtension
- Overrides:
getEngineByExtension
in classScriptEngineManager
-
getEnginesByExtension
-
getEngineByMimeType
- Overrides:
getEngineByMimeType
in classScriptEngineManager
-
getEnginesByMimeType
-
getEngineFactories
- Overrides:
getEngineFactories
in classScriptEngineManager
-
registerEngineName
- Overrides:
registerEngineName
in classScriptEngineManager
-
registerEngineMimeType
- Overrides:
registerEngineMimeType
in classScriptEngineManager
-
registerEngineExtension
- Overrides:
registerEngineExtension
in classScriptEngineManager
-
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event) - Specified by:
bundleChanged
in interfaceorg.osgi.framework.BundleListener
-
getServiceProperties
-