public class OSGiModulesRegistryImpl extends AbstractOSGiModulesRegistryImpl implements org.osgi.framework.SynchronousBundleListener
ModulesRegistry.
It uses OSGi extender pattern to do necessary parsing of OSGi bundles.pamodules, parent, providers, repositories| Modifier and Type | Method and Description |
|---|---|
protected void |
add(Module newModule)
Add a new module to this registry.
|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
protected String |
getProperty(String property) |
protected Module |
newModule(ModuleDefinition moduleDef)
Factory method for creating new instances of Module.
|
void |
remove(Module module)
Removes a module from the registry.
|
void |
shutdown()
Shuts down this module's registry, apply housekeeping tasks
|
addModuleChangeListener, createChild, detachAll, find, getModulesClassLoader, getModulesClassLoader, getPackageAdmin, getParentClassLoader, parseInhabitants, register, removeModuleChangeListener, setParentClassLoader, unregisteradd, add, addRepository, addRepository, changed, createServiceLocator, createServiceLocator, createServiceLocator, dumpState, getAllServiceLocators, getModules, getModules, getModulesProvider, getProvidersClass, getProvidingModule, getRepository, getRunningServices, initializeServiceLocator, loadFromRepository, makeModuleFor, makeModuleFor, makeModuleFor, newServiceLocator, newServiceLocator, populateConfig, populateServiceLocator, print, registerRunningService, removeRepository, unregisterRunningServicepublic void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerprotected void add(Module newModule)
AbstractModulesRegistryImpladd in class AbstractModulesRegistryImplnewModule - the new modulepublic void remove(Module module)
AbstractModulesRegistryImplremove in class AbstractOSGiModulesRegistryImplprotected Module newModule(ModuleDefinition moduleDef)
AbstractModulesRegistryImplnewModule in class AbstractModulesRegistryImplmoduleDef - module definition of the new module to be createdpublic void shutdown()
ModulesRegistryshutdown in interface ModulesRegistryshutdown in class AbstractOSGiModulesRegistryImplCopyright © 2013 Oracle Corporation. All rights reserved.