Package org.jvnet.hk2.osgiadapter
Class OSGiObrModuleImpl
java.lang.Object
org.jvnet.hk2.osgiadapter.OSGiModuleImpl
org.jvnet.hk2.osgiadapter.OSGiObrModuleImpl
- All Implemented Interfaces:
HK2Module
- Author:
- Sanjeeb.Sahoo@Sun.COM
-
Constructor Summary
ConstructorsConstructorDescriptionOSGiObrModuleImpl(OSGiObrModulesRegistryImpl registry, ModuleDefinition moduleDef) OSGiObrModuleImpl(OSGiObrModulesRegistryImpl registry, File file) OSGiObrModuleImpl(OSGiObrModulesRegistryImpl registry, org.osgi.framework.Bundle bundle, ModuleDefinition moduleDef) -
Method Summary
Methods inherited from class org.jvnet.hk2.osgiadapter.OSGiModuleImpl
addImport, addImport, addListener, equals, getBundle, getMetadata, getModuleDefinition, getName, getProvidersClass, getProvidersClass, hashCode, hasProvider, isShared, isSticky, isTransientlyActive, removeListener, setBundle, setSticky
-
Constructor Details
-
OSGiObrModuleImpl
- Throws:
IOException
-
OSGiObrModuleImpl
-
OSGiObrModuleImpl
public OSGiObrModuleImpl(OSGiObrModulesRegistryImpl registry, org.osgi.framework.Bundle bundle, ModuleDefinition moduleDef)
-
-
Method Details
-
getRegistry
- Specified by:
getRegistryin interfaceHK2Module- Overrides:
getRegistryin classOSGiModuleImpl
-
getState
- Specified by:
getStatein interfaceHK2Module- Overrides:
getStatein classOSGiModuleImpl
-
resolve
- Specified by:
resolvein interfaceHK2Module- Overrides:
resolvein classOSGiModuleImpl- Throws:
ResolveError
-
start
- Specified by:
startin interfaceHK2Module- Overrides:
startin classOSGiModuleImpl- Throws:
ResolveError
-
stop
public boolean stop()- Specified by:
stopin interfaceHK2Module- Overrides:
stopin classOSGiModuleImpl
-
detach
public void detach()- Specified by:
detachin interfaceHK2Module- Overrides:
detachin classOSGiModuleImpl
-
uninstall
public void uninstall()- Specified by:
uninstallin interfaceHK2Module- Overrides:
uninstallin classOSGiModuleImpl
-
refresh
public void refresh()- Specified by:
refreshin interfaceHK2Module- Overrides:
refreshin classOSGiModuleImpl
-
dumpState
- Specified by:
dumpStatein interfaceHK2Module- Overrides:
dumpStatein classOSGiModuleImpl
-
getClassLoader
- Specified by:
getClassLoaderin interfaceHK2Module- Overrides:
getClassLoaderin classOSGiModuleImpl
-
getImports
- Specified by:
getImportsin interfaceHK2Module- Overrides:
getImportsin classOSGiModuleImpl
-
toString
- Overrides:
toStringin classOSGiModuleImpl
-