org.netbeans.core.startup/1 1.37

Startup
Friend, Private or Third Party

See:
          Description

Startup
org.netbeans.core.startup The IDE's module system is broken into several layers.
org.netbeans.core.startup.layers  

 

XXX no answer for arch-overall

What is New (see all changes)?

Use Cases

XXX no answer for arch-usecases

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
Interface NameIn/OutStabilitySpecified in What Document?

Group of systemproperty interfaces
Interface NameIn/OutStabilitySpecified in What Document?
org.netbeans.log.startupExportedFriend

If started with -J-Dorg.netbeans.log.startup=print parameter, then times of various start operations are printed to console. If the value is -J-Dorg.netbeans.log.startup=file then the values are printed into file specified by -J-Dorg.netbeans.log.startup.logfile=filename. Since NetBeans 7.1 one can also fill in the file by standard XML format of log messages by using -J-Dorg.netbeans.log.startup=xml.

Moreover if any module logs data to Logger.getLogger("org.netbeans.log.startup") with calls like log(Level.FINE, "start", "msg") and log(Level.FINE, "end", "msg") or log(Level.FINE, "progress", "msg"), then these messages are collected into the start log as well.

netbeans.logger.noSystemExportedFriend

Allows unit tests to prevent changes to System.err and System.out by the logging infrastructure.

org.netbeans.core.startup.ModuleList.firstModuleJarWinsExportedFriend

Disables #113341 so that the first version of a module JAR to be encountered is loaded, even if a later cluster contains a newer version of the same module.

org.netbeans.core.systemfilesystem.customExportedUnder Development

This property can contain name of a class implementing FileSystem with a public default constructor. Such filesystem is then used during initialization of writable layer of system file system (see getConfigRoot). The filesystem may use or may ignore value of System.getProperty("netbeans.user").

Note: The class is loaded sooner then modules are initialized, as such the class providing it must be from a JAR file placed in to $cluster/core/ directory. Such JAR may have just a limited dependencies - e.g. only module system and filesystem API.

netbeans.bootdelegationExportedUnder Development

Similar to OSGi's org.osgi.framework.bootdelegation property. Allows unit tests (or even regular code) to prevent classloading from application classloader for other, then explicitly enumerated packages.

This property shall contain a set of comma separated values of package names. Classes from those packages will be loaded by the classloader framework from application classloader. If the name of a package ends with .* suffix, all packages under the given package name are allowed for delegation (but not the package by itself).

The classes from the java.* namespace are allowed and do not need to be enumerated at all. If this property is not specified at all, all classes visible by the application classloader can be accessed. Available since version 1.26.

netbeans.productversionExportedUnder Development

This property includes the display name presented to the user as Product Version in the About dialog box and in the log file.

Implementation Details

Where are the sources for the module?

The sources for the module are in the NetBeans Mercurial repositories.

What do other modules need to do to declare a dependency on this one, in addition to or instead of a plain module dependency?

XXX no answer for deploy-dependencies

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


org.netbeans.core.startup/1 1.37

Built on February 9 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.