Package org.restheart.polyglot.services
Class JSService
java.lang.Object
org.restheart.polyglot.JSPlugin
org.restheart.polyglot.services.JSService
- Direct Known Subclasses:
JSStringService,NodeService
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Field Summary
Fields inherited from class org.restheart.polyglot.JSPlugin
contextQueue, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionJSService(String name, String pluginClass, String description, String uri, boolean secured, RegisterPlugin.MATCH_POLICY matchPolicy, org.graalvm.polyglot.Source handleSource, String modulesReplacements, Configuration config, Optional<com.mongodb.client.MongoClient> mclient, Map<String, String> contextOptions) JSService(JSServiceArgs args) -
Method Summary
Methods inherited from class org.restheart.polyglot.JSPlugin
configuration, engine, getDescription, handleSource, mclient, name, releaseCtx, takeCtx
-
Constructor Details
-
JSService
public JSService(String name, String pluginClass, String description, String uri, boolean secured, RegisterPlugin.MATCH_POLICY matchPolicy, org.graalvm.polyglot.Source handleSource, String modulesReplacements, Configuration config, Optional<com.mongodb.client.MongoClient> mclient, Map<String, String> contextOptions) -
JSService
-
-
Method Details
-
uri
-
secured
public boolean secured() -
matchPolicy
-