@Deprecated public final class RuntimeMappingModule extends AbstractRuntimeMappingModule
waitForSchemaJmxAttribute
dependencyResolver, identifier
Constructor and Description |
---|
RuntimeMappingModule(ModuleIdentifier identifier,
DependencyResolver dependencyResolver)
Deprecated.
|
RuntimeMappingModule(ModuleIdentifier identifier,
DependencyResolver dependencyResolver,
RuntimeMappingModule oldModule,
AutoCloseable oldInstance)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canReuseInstance(AbstractRuntimeMappingModule oldModule)
Deprecated.
Users are welcome to override this method to provide custom logic for
advanced reusability detection.
|
AutoCloseable |
createInstance()
Deprecated.
Create instance.
|
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
Deprecated.
|
void |
validate()
Deprecated.
This method will be called as first phase in two phase commit.
|
customValidation, equals, getLogger, getWaitForSchema, hashCode, isSame, resolveDependencies, reuseInstance, setWaitForSchema
canReuse, getIdentifier, getInstance, setCanReuseInstance
public RuntimeMappingModule(ModuleIdentifier identifier, DependencyResolver dependencyResolver)
public RuntimeMappingModule(ModuleIdentifier identifier, DependencyResolver dependencyResolver, RuntimeMappingModule oldModule, AutoCloseable oldInstance)
public void validate()
Module
Module.getInstance()
on
dependent Module
because it would destroy separation between
validation and commit phase.validate
in interface Module
validate
in class AbstractRuntimeMappingModule
public boolean canReuseInstance(AbstractRuntimeMappingModule oldModule)
AbstractModule
canReuseInstance
in class AbstractRuntimeMappingModule
oldModule
- old instance of a Modulepublic AutoCloseable createInstance()
AbstractModule
createInstance
in class AbstractModule<AbstractRuntimeMappingModule>
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Copyright © 2019 OpenDaylight. All rights reserved.