See: Description
Package | Description |
---|---|
org.openide.modules |
NetBeans is capable of being extended by pluggable
modules
providing additional functionality.
|
XXX no answer for arch-overall
Allows the generated constructor to call any constructor, signature is derived from specified static method parameters. See javadoc for @ConstructorDelegate
Special annotation @PatchFor
allows to require that a class should serve as a superclass of some other class.
See @PatchFor javadoc for further
constraints.
To support removing obsolete constructors,
@ConstructorDelegate
has been
created to mark moved initialization code. See @ConstructorDelegate javadoc
for more details.
Most of JDK installations come with additional JavaFX JAR. Alas the location of the JAR is different on JDK7 and JDK8, moreover on some operating systems (think of Solaris) the JAR is not present at all. To hide the differences and allow smooth consumption of JavaFX APIs NetBeans provide following conventions.
If you want to code against JavaFX APIs, add dependency
on org.netbeans.libs.javafx
library. Then you'll
be able to compile and run while using the API.
If you want to depend on presence of JavaFX JAR inside of JDK installation structure, use:
OpenIDE-Module-Needs: org.openide.modules.jre.JavaFX
This token is made available by the module system, if the
JavaFX module is present in the JDK. Btw. the
org.netbeans.libs.javafx
library has such
dependency and as a result, all modules that depend on it
will be disabled on Solaris or on OpenJDK (if installed without
JavaFX).
New findCodeNameBase(String)
method returning
ModuleInfo
or null
.
Dependency.create now allows code name base where dot is followed by number (like org.apache.servicemix.specs.jsr303_api_1.0.0). This increases the inter-operability with OSGi bundles using such naming style.
XXX no answer for arch-usecases
|
The sources for the module are in the NetBeans Mercurial repositories.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.
Built on December 20 2016. | Portions Copyright 1997-2016 Oracle. All rights reserved.