org.jvnet.hk2.osgiadapter
Class OSGiObrModulesRegistryImpl
java.lang.Object
com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl
org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl
org.jvnet.hk2.osgiadapter.OSGiObrModulesRegistryImpl
- All Implemented Interfaces:
- ModuleChangeListener, ModulesRegistry, EventListener, HabitatFactory, InhabitantsParserFactory, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener
public class OSGiObrModulesRegistryImpl
- extends OSGiModulesRegistryImpl
- Author:
- Sanjeeb.Sahoo@Sun.COM
| Methods inherited from class org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl |
add, addModuleChangeListener, createChild, detachAll, find, getModulesClassLoader, getModulesClassLoader, getPackageAdmin, getParentClassLoader, parseInhabitants, register, remove, removeModuleChangeListener, setParentClassLoader, unregister |
| Methods inherited from class com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl |
add, add, changed, createHabitat, createHabitat, createHabitat, createInhabitantsParser, dumpState, getModules, getModules, getModulesProvider, getProvidersClass, getProvidingModule, getRepository, getRunningServices, initializeHabitat, makeModuleFor, makeModuleFor, makeModuleFor, newHabitat, newHabitat, populateConfig, print, registerRunningService, removeRepository, unregisterRunningService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addObr
public void addObr(URI obrUri)
throws Exception
- Throws:
Exception
addRepository
public void addRepository(Repository repository,
int weight)
- Specified by:
addRepository in interface ModulesRegistry- Overrides:
addRepository in class AbstractModulesRegistryImpl
addRepository
public void addRepository(Repository repository)
- Specified by:
addRepository in interface ModulesRegistry- Overrides:
addRepository in class AbstractModulesRegistryImpl
newModule
protected Module newModule(ModuleDefinition moduleDef)
- Overrides:
newModule in class OSGiModulesRegistryImpl
loadFromRepository
protected Module loadFromRepository(String name,
String version)
- Overrides:
loadFromRepository in class AbstractModulesRegistryImpl
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChanged in interface org.osgi.framework.BundleListener- Overrides:
bundleChanged in class OSGiModulesRegistryImpl
shutdown
public void shutdown()
- Specified by:
shutdown in interface ModulesRegistry- Overrides:
shutdown in class OSGiModulesRegistryImpl
Copyright © 2011 Oracle Corporation. All Rights Reserved.