This document lists changes made to the Execution API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
Startup
folder removed
NbClassLoader
constructors deprecated
Startup
folder removed
NbClassLoader
constructors deprecated
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.openide.execution > 1.20
Startup
folder removed
NbClassLoader
constructors deprecated
org.openide.cookies.ArgumentsCookie
org.openide.cookies.ExecCookie
org.openide.execution.ExecInfo
org.openide.actions.ExecuteAction
org.openide.loaders.ExecutionSupport
org.openide.execution.Executor
org.openide.execution.ExecutorType
org.openide.execution.NbClassLoader
NbClassLoader
constructors deprecated
org.openide.execution.NbfsStreamHandlerFactory
org.openide.execution.NbfsURLConnection
org.openide.execution.ProcessExecutor
org.openide.execution.ThreadExecutor
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.
There is no direct equivalent in NetBeans 4.0.
NbClassLoader
constructors deprecated
NbClassLoader
; made by: jglick
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.
Old constructors continue to behave as before but that behavior is unlikely to be useful in NetBeans 4.0.
ExecuteAction
ArgumentsCookie
ExecCookie
ExecInfo
Executor
ExecutorType
NbfsStreamHandlerFactory
NbfsURLConnection
ProcessExecutor
ThreadExecutor
ExecutionSupport
; made by: jglick
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.
New code must declare which of the two modules (or both) it wishes to compile against and use.
Built on May 4 2005. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.