NetBeans Architecture Answers for Auto Update Services module


Interfaces table

Group of java interfaces
Interface Name In/Out Stability Specified in What Document?
org.netbeans.api.autoupdate Exported Official overview-summary.html

org.netbeans.spi.autoupdate Exported Official overview-summary.html

org.netbeans.api.progress Imported Official .../overview-summary.html

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

org.netbeans.bootstrap Imported Friend

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

org.netbeans.core.startup Imported Friend

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

org.openide.filesystems Imported Official .../overview-summary.html

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

org.openide.modules Imported Official .../overview-summary.html

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

org.openide.util Imported Official .../org-openide-util/overview-summary.html

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

org.openide.windows Imported Official .../overview-summary.html

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

Group of dtd interfaces
Interface Name In/Out Stability Specified in What Document?
catalog-dtd Exported Stable .../doc-files/autoupdate-catalog-2_4.dtd

info-dtd Exported Stable .../doc-files/autoupdate-info-2_4.dtd

Group of preferences interfaces
Interface Name In/Out Stability Specified in What Document?
unique-id Exported Stable
enable-update-provider Exported Private
last-check-of-provider Exported Private

Group of property interfaces
Interface Name In/Out Stability Specified in What Document?
InitialTab Exported Friend

The associated module autoupdate.ui provides possibility to open plugin manager dialog (PluginManagerUI) with the specified tab. That is controlled by setting this string property to one of the following values:

  • update
  • available
  • local
  • installed

If property is not set (as default) then default tab is choosen due to the UI spec.

Proposed usage of API:
final FileObject fo = FileUtil.getConfigFile("Actions/System/org-netbeans-modules-autoupdate-ui-actions-PluginManagerAction.instance");
CallableSystemAction action = (CallableSystemAction) DataObject.find(fo).getCookie(InstanceCookie.class).instanceCreate();
action.putValue("InitialTab", "installed");
action.performAction();
            

plugin.manager.detail.view.selected Exported Private

Setting this property affects the associated module autoupdate.ui. Setting it to true results in the detailed view (all visible plugins) been selected when Installed tab is opened in Plugin Manager. Otherwise the simple view (high-level features) is selected.

Group of java.io.File interfaces
Interface Name In/Out Stability Specified in What Document?
.lastModified Imported Under Development

Whenever updater touches a cluster, it creates .lastModified file in it and sets its timestamp to current time millis. This is an information for module system, so it knows to reset its caches.


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


Built on July 6 2010.  |  Portions Copyright 1997-2010 Sun Microsystems, Inc. All rights reserved.