Modifier and Type | Method and Description |
---|---|
Module |
ModuleManager.create(File jar,
Object history,
boolean reloadable,
boolean autoload)
Deprecated.
since org.netbeans.core/1 1.3
|
Module |
ModuleManager.create(File jar,
Object history,
boolean reloadable,
boolean autoload,
boolean eager)
Create a module from a JAR and add it to the managed set.
|
Module |
ModuleFactory.create(File jar,
Object history,
boolean reloadable,
boolean autoload,
boolean eager,
ModuleManager mgr,
Events ev)
This method creates a "standard" module.
|
Module |
ModuleManager.createBundle(File jar,
Object history,
boolean reloadable,
boolean autoload,
boolean eager,
int startLevel)
Create a module from a JAR representing an OSGi bundle
and adds it to the managed set.
|
Module |
ModuleManager.createFixed(Manifest mani,
Object history,
ClassLoader loader)
Create a fixed module (e.g.
|
Module |
ModuleManager.createFixed(Manifest mani,
Object history,
ClassLoader loader,
boolean autoload,
boolean eager)
Create a fixed module (e.g.
|
Module |
ModuleFactory.createFixed(Manifest mani,
Object history,
ClassLoader loader,
boolean autoload,
boolean eager,
ModuleManager mgr,
Events ev)
This method creates a "fixed" module.
|
protected Module |
NetigsoFramework.findModule(String cnb)
Finds module for given name.
|
Module |
ModuleManager.get(String codeNameBase)
Convenience method to find a module by name.
|
Module |
Util.ModuleProvider.getModule() |
Module |
InvalidException.getModule()
Affected module.
|
Module |
DuplicateException.getNewModule()
Get the module whose creation was attempted.
|
Module |
DuplicateException.getOldModule()
Get the module which is already known to exist.
|
Modifier and Type | Method and Description |
---|---|
void |
ModuleManager.delete(Module m)
Remove a module from the managed set.
|
void |
ModuleManager.disable(Module m)
Disable a single module.
|
abstract void |
ModuleInstaller.dispose(Module m)
Called when a module is being uninstalled and runtime information
about it is no longer needed.
|
void |
ModuleManager.enable(Module m)
Enable a single module.
|
protected Enumeration<URL> |
NetigsoFramework.findResources(Module module,
String resName)
Find given resource inside provide module representing an OSGi bundle.
|
Collection<Module> |
ModuleManager.getAttachedFragments(Module m) |
Set<Module> |
ModuleManager.getModuleInterdependencies(Module m,
boolean reverse,
boolean transitive)
Deprecated.
|
Set<Module> |
ModuleManager.getModuleInterdependencies(Module m,
boolean reverse,
boolean transitive,
boolean considerNeeds)
Get a set of modules depended upon or depending on this module.
|
boolean |
ModuleManager.isOrWillEnable(Module m)
Checks if the module is enabled or WILL be enabled by the current enable operation.
|
abstract void |
ModuleInstaller.prepare(Module m)
Called to ensure that a module is valid to be installed, before continuing.
|
void |
ModuleInstaller.refineClassLoader(Module m,
List<? extends ClassLoader> parents)
Permit a module installer to add extra parent classloaders for a module.
|
ClassLoader |
ModuleManager.refineClassLoader(Module m,
List<? extends ClassLoader> parents)
Used by Module to communicate with the ModuleInstaller re.
|
void |
ModuleInstaller.refineDependencies(Module m,
Dependency> dependencies)
Optionally refine the dependencies for a module.
|
String[] |
ModuleInstaller.refineProvides(Module m)
Optionally adds additional token for the module.
|
protected abstract void |
NetigsoFramework.reload(Module m)
Reloads one module
|
void |
ModuleManager.reload(Module m)
Reload a module.
|
boolean |
ModuleInstaller.shouldDelegateResource(Module m,
Module parent,
String pkg)
Optionally mask package use in a module classloader.
|
boolean |
ModuleManager.shouldDelegateResource(Module m,
Module parent,
String pkg)
|
boolean |
ModuleManager.shouldDelegateResource(Module m,
Module parent,
String pkg,
ClassLoader ldr)
Determines if module `m' should delegate loading resources from package `p' to the
`parent'.
|
Constructor and Description |
---|
InvalidException(Module m,
String detailMessage) |
InvalidException(Module m,
String detailMessage,
String localizedMessage) |
JarClassLoader(List<File> files,
ClassLoader[] parents,
boolean transitive,
Module mod)
Creates new JarClassLoader.
|