< prev index next >

## src/jdk.scripting.nashorn/share/classes/module-info.java

Print this page

     118  * while the constructor and the methods can be either public or protected.
     119  * If there are multiple abstract overloads of the same name, the single
     120  * function will serve as the shared implementation for all of them,
     121  * <em>and additionally it will also override any non-abstract methods of
     122  * the same name</em>. This is done to be consistent with the fact that
     123  * ECMAScript does not have the concept of overloaded methods.
     124  *
     125  * <h2>The {@code Java} object</h2>
     126  *
     127  * Nashorn exposes a non-standard global object named {@code Java} that is
     128  * the primary API entry point into Java platform-specific functionality.
     129  * You can use it to create instances of Java classes, convert from Java arrays
     130  * to native arrays and back, and so on.
     131  *
     132  * <h2>Other non-standard built-in objects</h2>
     133  *
     134  * In addition to {@code Java}, Nashorn also exposes some other
     135  * non-standard built-in objects:
     136  * {@code JSAdapter}, {@code JavaImporter}, {@code Packages}
     137  *

     138  * @provides javax.script.ScriptEngineFactory
     139  * @moduleGraph
     140  * @since 9
     141  */

     142 module jdk.scripting.nashorn {
     143     requires java.logging;
     144     requires jdk.dynalink;
     145
     146     requires transitive java.scripting;
     147
     148     exports jdk.nashorn.api.scripting;
     149     exports jdk.nashorn.api.tree;
     150
     151     exports jdk.nashorn.internal.runtime to
     152         jdk.scripting.nashorn.shell;
     153     exports jdk.nashorn.internal.objects to
     154         jdk.scripting.nashorn.shell;
     155     exports jdk.nashorn.tools to
     156         jdk.scripting.nashorn.shell;
     157
     158     provides javax.script.ScriptEngineFactory with
     159         jdk.nashorn.api.scripting.NashornScriptEngineFactory;
     160
     161     provides jdk.dynalink.linker.GuardingDynamicLinkerExporter with
     118  * while the constructor and the methods can be either public or protected.
     119  * If there are multiple abstract overloads of the same name, the single
     120  * function will serve as the shared implementation for all of them,
     121  * <em>and additionally it will also override any non-abstract methods of
     122  * the same name</em>. This is done to be consistent with the fact that
     123  * ECMAScript does not have the concept of overloaded methods.
     124  *
     125  * <h2>The {@code Java} object</h2>
     126  *
     127  * Nashorn exposes a non-standard global object named {@code Java} that is
     128  * the primary API entry point into Java platform-specific functionality.
     129  * You can use it to create instances of Java classes, convert from Java arrays
     130  * to native arrays and back, and so on.
     131  *
     132  * <h2>Other non-standard built-in objects</h2>
     133  *
     134  * In addition to {@code Java}, Nashorn also exposes some other
     135  * non-standard built-in objects:
     136  * {@code JSAdapter}, {@code JavaImporter}, {@code Packages}
     137  *
     138  * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
     139  * are deprecated with the intent to remove them in a future release.
     140  *
     141  * @provides javax.script.ScriptEngineFactory
     142  * @moduleGraph
     143  * @since 9
     144  */
     145 @Deprecated(since="11", forRemoval=true)
     146 module jdk.scripting.nashorn {
     147     requires java.logging;
     148     requires jdk.dynalink;
     149
     150     requires transitive java.scripting;
     151
     152     exports jdk.nashorn.api.scripting;
     153     exports jdk.nashorn.api.tree;
     154
     155     exports jdk.nashorn.internal.runtime to
     156         jdk.scripting.nashorn.shell;
     157     exports jdk.nashorn.internal.objects to
     158         jdk.scripting.nashorn.shell;
     159     exports jdk.nashorn.tools to
     160         jdk.scripting.nashorn.shell;
     161
     162     provides javax.script.ScriptEngineFactory with
     163         jdk.nashorn.api.scripting.NashornScriptEngineFactory;
     164
     165     provides jdk.dynalink.linker.GuardingDynamicLinkerExporter with

< prev index next >