Package org.jvnet.hk2.osgiadapter
Class OSGiObrModulesRegistryImpl
java.lang.Object
com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
org.jvnet.hk2.osgiadapter.AbstractOSGiModulesRegistryImpl
org.jvnet.hk2.osgiadapter.OSGiObrModulesRegistryImpl
- All Implemented Interfaces:
ModuleChangeListener,ModulesRegistry,EventListener,org.osgi.framework.BundleListener,org.osgi.framework.SynchronousBundleListener
public class OSGiObrModulesRegistryImpl
extends AbstractOSGiModulesRegistryImpl
implements org.osgi.framework.SynchronousBundleListener
- Author:
- Sanjeeb.Sahoo@Sun.COM
-
Field Summary
Fields inherited from class org.jvnet.hk2.osgiadapter.AbstractOSGiModulesRegistryImpl
paFields inherited from class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
modules, parent, providers, repositories -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddRepository(Repository repository) voidaddRepository(Repository repository, int weight) voidbundleChanged(org.osgi.framework.BundleEvent event) protected HK2ModuleloadFromRepository(String name, String version) protected HK2ModulenewModule(ModuleDefinition moduleDef) voidshutdown()Methods inherited from class org.jvnet.hk2.osgiadapter.AbstractOSGiModulesRegistryImpl
addModuleChangeListener, createChild, detachAll, find, getModulesClassLoader, getModulesClassLoader, getPackageAdmin, getParentClassLoader, parseInhabitants, register, remove, removeModuleChangeListener, setParentClassLoader, unregisterMethods inherited from class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
add, add, add, changed, createServiceLocator, createServiceLocator, createServiceLocator, dumpState, getAllServiceLocators, getModules, getModules, getModulesProvider, getProvidersClass, getProvidingModule, getRepository, getRunningServices, initializeServiceLocator, makeModuleFor, makeModuleFor, makeModuleFor, newServiceLocator, newServiceLocator, populateConfig, populateServiceLocator, print, registerRunningService, removeRepository, unregisterRunningService
-
Method Details
-
addObr
- Throws:
Exception
-
addRepository
- Specified by:
addRepositoryin interfaceModulesRegistry- Overrides:
addRepositoryin classAbstractModulesRegistryImpl
-
addRepository
- Specified by:
addRepositoryin interfaceModulesRegistry- Overrides:
addRepositoryin classAbstractModulesRegistryImpl
-
newModule
- Specified by:
newModulein classAbstractModulesRegistryImpl
-
loadFromRepository
- Overrides:
loadFromRepositoryin classAbstractModulesRegistryImpl
-
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event) - Specified by:
bundleChangedin interfaceorg.osgi.framework.BundleListener
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceModulesRegistry- Overrides:
shutdownin classAbstractOSGiModulesRegistryImpl
-