Execution API
Official

Overview of Execution API module

What is New (see all changes)?

  • Jan 20 '12 NbClassLoader(FileObject[], ...) does not throw FileStateInvalidException

    NbClassLoader(FileObject[], ClassLoader, InputOutput) does not throw FileStateInvalidException any more.

  • Jul 19 '06 No need to require ExecutionEngine token anymore

    If your module depends on org.openide.execution > 1.9 or higher there is no need to specify that it also requires an implementation of the API by use of OpenIDE-Module-Requires: org.openide.execution.ExecutionEngine, this token will be requested automatically by the org.openide.execution module itself.

  • Mar 16 '04 Execution of Startup folder removed

    Previously it was possible to place objects with an ExecCookie into the Startup folder of the system filesystem, and they would be run during startup.

    In NetBeans 4.0 there is no such cookie any more, and that old style of execution is no longer supported. Modules may continue to use ModuleInstall.restored for startup hooks, possibly providing special modes for user customization, but there is no generic infrastructure for this.

  • Mar 16 '04 NbClassLoader constructors deprecated

    All of the existing constructors of NbClassLoader were deprecated since they used Filesystems to refer to the classpath; one new classpath-safe constructor was added instead.

    For similar reasons, a number of static methods in the class were deprecated as well.

  • Mar 16 '04 Execution API split into deprecated and nondeprecated halves

    As part of the NetBeans 4.0 build system, the Execution API was split into two halves. The first half continues to be used as before. The second half is now deprecated and lives in a separate module.

Use Cases

Exported Interfaces

This table lists all of the module exported APIs with defined stability classifications. It is generated based on answers to questions about the architecture of the module. Read them all...

Group of java interfaces

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
ExecutionAPIExportedOfficial .../org/openide/execution/doc-files/api.html

Group of property interfaces

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
NetBeansAttrExecutorExportedPrivate
NetBeansAttrArgumentsExportedPrivate
readOnlyAttrsExportedPrivate

Implementation Details

Read more about the implementation in the answers to architecture questions.

Execution API
Package
Description
NetBeans uses a small interface to describe the execution of Java-based classes together with arguments.