Skip navigation links

NetBeans Architecture Answers for Scripting API Wrapper module


Interfaces table

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
org.netbeans.api.scriptingExportedOfficial

Scripting class offers static createManager() method that should be used whenever one needs an instance of ScriptEngineManager inside of NetBeans based application.

org.netbeans.spi.scriptingExportedOfficial

Implement EngineProvider and register it into global lookup via ServiceProvider to dynamically discover and offer new ScriptEngines to users of ScriptEngineManager obtained via Scripting factory methods.

LookupAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 8.36 is required.

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
allowAllAccessExportedStable .../netbeans/api/scripting/Scripting.html

If Scripting.allowAllAccess is used, then a property allowAllAccess is placed into the ScriptManager.getBindings() with value true.

manifest.ScriptEngineExportedOfficial

If your module wants to use a script engine of given name, then include a token dependency
  • for example OpenIDE-Module-Needs: javax.script.ScriptEngine.js
  • or OpenIDE-Module-Needs: javax.script.ScriptEngine.python
  • or OpenIDE-Module-Recommends: javax.script.ScriptEngine.ruby
in your manifest file (also accessible through project customizer GUI) to indicate to the system that you need it.
Modules that provide implementations of enginesshould use OpenIDE-Module-Provides tag to advertise them. Only then the runtime container can make sure all requested providers in the application are really enabled and the dependencies are satisfied.


General Information


Project and platform dependencies


Deployment


Compatibility with environment


Access to resources


Lookup of components


Execution Environment


Format of files and protocols


Performance and Scalability