public class ShutdownModuleFactory extends AbstractShutdownModuleFactory
NAME
Constructor and Description |
---|
ShutdownModuleFactory() |
Modifier and Type | Method and Description |
---|---|
Set<ShutdownModule> |
getDefaultModules(DependencyResolverFactory dependencyResolverFactory,
org.osgi.framework.BundleContext bundleContext)
Called when ModuleFactory is registered to config manager.
|
ShutdownModule |
instantiateModule(String instanceName,
DependencyResolver dependencyResolver,
org.osgi.framework.BundleContext bundleContext) |
ShutdownModule |
instantiateModule(String instanceName,
DependencyResolver dependencyResolver,
ShutdownModule oldModule,
AutoCloseable oldInstance,
org.osgi.framework.BundleContext bundleContext) |
createModule, createModule, getImplementationName, getImplementedServiceIntefaces, handleChangedClass, handleChangedClass, isModuleImplementingServiceInterface
public ShutdownModule instantiateModule(String instanceName, DependencyResolver dependencyResolver, ShutdownModule oldModule, AutoCloseable oldInstance, org.osgi.framework.BundleContext bundleContext)
instantiateModule
in class AbstractShutdownModuleFactory
public ShutdownModule instantiateModule(String instanceName, DependencyResolver dependencyResolver, org.osgi.framework.BundleContext bundleContext)
instantiateModule
in class AbstractShutdownModuleFactory
public Set<ShutdownModule> getDefaultModules(DependencyResolverFactory dependencyResolverFactory, org.osgi.framework.BundleContext bundleContext)
ModuleFactory
getDefaultModules
in interface ModuleFactory
getDefaultModules
in class AbstractShutdownModuleFactory
dependencyResolverFactory
- factory for getting dependency resolvers for each module.bundleContext
- Reference to OSGi bundleContext that can be used to acquire OSGi
services, startup configuration and other OSGi related
information.Copyright © 2019 OpenDaylight. All rights reserved.