the heart of NetBeans integration with
OSGi with NetBeans module
system is contained in this module. This module locates the OSGi framework
implmentation and is then responsible for finding,
registering and starting OSGi bundles provided by the NetBeans module system.
Share NetBeans Resource CacheThe only supported usecase right now is to
allow any framework to obtain access to internal cache and load classes
from it. See NetigsoArchive.
This table lists all of the module exported APIs
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 property interfaces
Group of java.io.File interfaces
Group of branding interfaces
|Interface Name||In/Out||Stability||Specified in What Document?
One can influence the initial OSGi framework start level by rebranding
FRAMEWORK_START_LEVEL key in
By default the key is empty, which means no change to default OSGi start level of
The meaning of enabled module (a NetBeans terminology) and started bundle
(an OSGi terminology) is not the same. Although in general we recommend
to start all bundles that are marked as enabled, you may want to configure
this. To do so, you can use various start levels
MODULE_START_LEVEL key in
org/netbeans/core/netigso/Bundle.properties to specify the
start level of modules that are supposed to be started.
Only modules with lower or equal start level than value of this
key will be started.
Bundles that don't provide own start level (via config/Modules/*.xml files),
get no start level by default in the NetBeans Platform,
however that can be changed by branding the
DEFAULT_BUNDLE_START_LEVEL key in
org/netbeans/core/netigso/Bundle.properties. NetBeans IDE
brands it to 4.
The FIND_COVERED_PKGS branding key defines method to find list of covered packages
for an OSGi bundle. Currently it can be empty or findEntries, which
means Netigso will use
bundle.findEntries("", null, true). As that method
resolves the bundle, it may not always be appropriate. In such case brand
this token to empty string and only "Export-Package" values will be used.
Since version 1.23 there is also a chance to set the token to exportedIfPresent
which will use the value of "Export-Package" tag when it is present, but
when there is none,
bundle.findEntries("", null, true) will be
Group of systemproperty interfaces
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