<!-- <questionid="arch-overall"when="init"> Describetheoverallarchitecture. <hint> WhatwillbeAPIfor <ahref="http://wiki.netbeans.org/API_Design#Separate_API_for_clients_from_support_API"> clientsandwhatsupportAPI</a>? Whatpartswillbepluggable? Howwillplug-insberegistered?Pleaseuse<code><apitype="export"/></code> todescribeyourgeneralAPIsandspecifytheir <ahref="http://wiki.netbeans.org/API_Stability#Private"> stabilitycategories</a>. Ifpossiblepleaseprovidesimplediagrams. </hint> </question>
-->
<answer id="arch-overall">
<p>
This module provides a wrapper around JDK's <code>ScriptEngineManager</code>
that is aware of NetBeans specific extensions. Please see the
<a href="@org-netbeans-libs-graalsdk@/org/netbeans/libs/graalsdk/package-summary.html">scripting tutorial</a>
to read about many interesting use-cases.
</p>
</answer>
Describethemain<ahref="http://wiki.netbeans.org/API_Design#The_Importance_of_Being_Use_Case_Oriented"> usecases</a>ofthenewAPI.Whowilluseitunder whatcircumstances?Whatkindofcodewouldtypicallyneedtobewritten tousethemodule? </question>
-->
<answer id="arch-usecases">
<usecase id="createScriptEngineManager" name="Create ScriptEngineManager">
To create new instance script engine manager ready for the NetBeans
execution environment use
<api category="official" group="java" name="org.netbeans.api.scripting"type="export">
<a href="@TOP@/org/netbeans/api/scripting/Scripting.html">Scripting</a>
class offers static <code>createManager()</code> method that
should be used whenever one needs an instance of
<a href="@JDK@@JDKMODULE_JAVA_SCRIPTING@/javax/script/ScriptEngineManager.html">ScriptEngineManager</a>
inside of NetBeans based application.
</api>
Many client oriented use-cases are covered in the
<a href="@org-netbeans-libs-graalsdk@/org/netbeans/libs/graalsdk/package-summary.html">scripting tutorial</a>.
</usecase>
<usecase id="dynamicallyRegisterEngines" name="Dynamic registration of ScriptEngineFactory">
<api category="official" group="java" name="org.netbeans.spi.scripting"type="export">
Implement
<a href="@TOP@/org/netbeans/spi/scripting/EngineProvider.html">EngineProvider</a>
and register it into global lookup via
<a href="@org-openide-util-lookup@/org/openide/util/lookup/ServiceProvider.html">ServiceProvider</a>
to dynamically discover and offer new
<a href="@JDK@@JDKMODULE_JAVA_SCRIPTING@/javax/script/ScriptEngine.html">ScriptEngine</a>s
to users of
<a href="@JDK@@JDKMODULE_JAVA_SCRIPTING@/javax/script/ScriptEngineManager.html">ScriptEngineManager</a>
obtained via
<a href="@TOP@/org/netbeans/api/scripting/Scripting.html">Scripting</a>
factory methods.
</api>
</usecase>
<usecase id="registerEngines" name="Static registration of ScriptEngineFactory">
<p>
To register additional scripting engine, just include its JAR file in
the application. Its factory registration in <code>META-INF/services/javax.script.ScriptEngineFactory</code>
will be found and used by
<a href="@TOP@/org/netbeans/api/scripting/Scripting.html">Scripting</a>
factory methods. Alternatively you can implement and register
<a href="@TOP@/org/netbeans/spi/scripting/EngineProvider.html">EngineProvider</a>
as in the <a href="@TOP@architecture-summary.html#java-org.netbeans.spi.scripting">dynamic registration use-case</a>.
</p>
<p>
In any case don't forget to advertise your engine to the
<a href="@org-openide-modules@/overview-summary.html">runtime container</a>
via <code>OpenIDE-Module-Providers: javax.script.ScriptEngine."engineName"</code>
tag as specified by <a href="@TOP@architecture-summary.html#property-manifest.ScriptEngine">manifest registration</a>
API.
</p>
</usecase>
</answer>
<!-- <questionid="arch-what"when="init"> Whatisthisprojectgoodfor? <hint> Pleaseprovidehereafewlinesdescribingtheproject, whatproblemitshouldsolve,providelinkstodocumentation, specifications,etc. </hint> </question>
-->
<answer id="arch-what">
<p>
NetBeans specific extensions to JDK's Scripting API can be found in this
module.
</p>
</answer>
<hint> Often<code>JComponent.getClientProperty</code>,<code>Action.getValue</code> or<code>PropertyDescriptor.getValue</code>,etc.areusedtoinfluence abehaviorofsomecode.Thisofcourseformsaninterfacethatshould bedocumented.Alsoifonedependsonsomeinterfacethatanobject implements(<code>componentinstanceofRunnable</code>)thatformsan APIaswell. </hint> </question>
-->
<answer id="exec-component">
<p>
<api group="property" category="stable" name="allowAllAccess"type="export"url="@TOP@/org/netbeans/api/scripting/Scripting.html">
If <a href="@TOP@/org/netbeans/api/scripting/Scripting.html#allowAllAccess(boolean)">Scripting.allowAllAccess</a>
is used, then a property <code>allowAllAccess</code> is placed into the
<code>ScriptManager.getBindings()</code> with value <code>true</code>.
</api>
</p>
</answer>
<!-- <questionid="exec-privateaccess"when="final"> Areyouawareofanyotherpartsofthesystemcallingsomeof yourmethodsbyreflection? <hint> Ifso,describethe"contract"asanAPI.Likelyprivateorfriendone,but stillAPIandconsiderrewriteofit. </hint> </question>
-->
<answer id="exec-privateaccess">
<p>
XXX no answer for exec-privateaccess
</p>
</answer>
<!-- <questionid="exec-process"when="impl"> Doyouexecuteanexternalprocessfromyourmodule?Howdoyouensure thattheresultisthesameondifferentplatforms?Doyouparseoutput? Doyoudependonresultcode? <hint> Ifyoufeedaninput,parsetheoutputpleasedeclarethatasanAPI. </hint> </question>
-->
<answer id="exec-process">
<p>
XXX no answer for exec-process
</p>
</answer>
<!-- <questionid="exec-property"when="impl"> Isexecutionofyourcodeinfluencedbyanyenvironmentor Javasystem(<code>System.getProperty</code>)property? Onasimilarnote,istheresomethinginterestingthatyou passto<code>java.util.logging.Logger</code>?Ordoyouobserve whatotherslog? <hint> Ifthereisapropertythatcanchangethebehaviorofyour code,somebodywilllikelyuseit.Youshoulddescribewhatitdoes andthe<ahref="http://wiki.netbeans.org/API_Stability">stabilitycategory</a> ofthisAPI.Youmayuse <pre> <apitype="export"group="property"name="id"category="private"url="http://..."> descriptionoftheproperty,whereitisused,whatitinfluence,etc. </api> </pre> </hint> </question>
-->
<answer id="exec-property">
<api name="manifest.ScriptEngine" category="official" group="property"type="export">
If your module wants to use a script engine of given name,
then include a token dependency
<ul>
<li>for example <code>OpenIDE-Module-Needs: javax.script.ScriptEngine.js</code></li>
<li>or <code>OpenIDE-Module-Needs: javax.script.ScriptEngine.python</code></li>
<li>or <code>OpenIDE-Module-Recommends: javax.script.ScriptEngine.ruby</code></li>
</ul>
in your manifest file (also accessible through project customizer GUI)
to indicate to the system that you need it.
<br/>
Modules that provide implementations of enginesshould use <code>OpenIDE-Module-Provides</code> tag
to advertise them. Only then
the <a href="@org-openide-modules@/overview-summary.html">runtime container</a>
can make sure all requested providers
in the application are really enabled and the dependencies are
satisfied.
</api>
</answer>
<!-- <questionid="exec-reflection"when="impl"> DoesyourcodeuseJavaReflectiontoexecuteothercode? <hint> ThisusuallyindicatesamissingorinsufficientAPIintheother partofthesystem.Iftheothersideisnotawareofyourdependency thiscontractcanbeeasilybroken. </hint> </question>
-->
<answer id="exec-reflection">
<p>
XXX no answer for exec-reflection
</p>
</answer>
<hint> Asthisissomekindofintermoduledependency,itisakindofAPI. Pleasedescribeitandclassifyaccordingto <ahref="http://wiki.netbeans.org/API_Design#What_is_an_API.3F"> commonstabilitycategories</a>. </hint> </question>
-->
<answer id="resources-read">
<p>
XXX no answer for resources-read
</p>
</answer>
<!-- <questionid="security-grant"when="final"> Doesyourcodegrantadditionalrightstosomeothercode? <hint>Avoidusingaclassloaderthataddsextra permissionstoloadedcodeunlessreallynecessary. AlsonotethatyourAPIimplementation canalsoexposeunneededpermissionstoenemycodeby callingAccessController.doPrivileged().</hint> </question>
-->
<answer id="security-grant">
<p>
XXX no answer for security-grant
</p>
</answer>
<!-- <questionid="security-policy"when="final"> Doesyourfunctionalityrequiremodificationstothestandardpolicyfile? <hint>Yourcodemightpasscontroltothird-partycodenot comingfromtrusteddomains.Thiscouldbecodedownloadedoverthe networkorcodecomingfromlibrariesthatarenotbundled withNetBeans.Whichpermissionsneedtobegrantedtowhichdomains?</hint> </question>
-->
<answer id="security-policy">
<p>
XXX no answer for security-policy
</p>
</answer>
</api-answers>
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.30Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.