public final class PolyglotAccess extends Object
If the two predefined access policies
PolyglotAccess.ALL are not sufficient then a
custom access configuration may be created using
PolyglotAccess.newBuilder(). This allows to grant
individual access rights between the language.
The following access rights may be granted:
betweentwo or just for
PolyglotAccess.ALLis used. In this mode polyglot evaluation builtins are available even if there is just one
|Modifier and Type||Class and Description|
A builder for a polyglot access configuration.
|Modifier and Type||Field and Description|
Provides guest languages full access to other languages using polyglot evaluation and binding builtins.
Provides guest languages no access to other languages using polyglot builtins evaluation and binding builtins.
|Modifier and Type||Method and Description|
Creates a new custom polyglot access configuration builder.
public static final PolyglotAccess NONE
public static final PolyglotAccess ALL
public static PolyglotAccess.Builder newBuilder()