@Deprecated public final class SchemaServiceImplSingletonModule extends AbstractSchemaServiceImplSingletonModule
dependencyResolver, identifier
Constructor and Description |
---|
SchemaServiceImplSingletonModule(ModuleIdentifier identifier,
DependencyResolver dependencyResolver)
Deprecated.
|
SchemaServiceImplSingletonModule(ModuleIdentifier identifier,
DependencyResolver dependencyResolver,
SchemaServiceImplSingletonModule oldModule,
AutoCloseable oldInstance)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canReuseInstance(AbstractSchemaServiceImplSingletonModule oldModule)
Deprecated.
Users are welcome to override this method to provide custom logic for
advanced reusability detection.
|
AutoCloseable |
createInstance()
Deprecated.
Create instance.
|
org.osgi.framework.BundleContext |
getBundleContext()
Deprecated.
|
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, getRootRuntimeBeanRegistratorWrapper, hashCode, isSame, resolveDependencies, reuseInstance, setRuntimeBeanRegistrator
canReuse, getIdentifier, getInstance, setCanReuseInstance
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
canReuse, getInstance
public SchemaServiceImplSingletonModule(ModuleIdentifier identifier, DependencyResolver dependencyResolver)
public SchemaServiceImplSingletonModule(ModuleIdentifier identifier, DependencyResolver dependencyResolver, SchemaServiceImplSingletonModule oldModule, AutoCloseable oldInstance)
public boolean canReuseInstance(AbstractSchemaServiceImplSingletonModule oldModule)
AbstractModule
canReuseInstance
in class AbstractSchemaServiceImplSingletonModule
oldModule
- old instance of a Modulepublic org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
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 AbstractSchemaServiceImplSingletonModule
public AutoCloseable createInstance()
AbstractModule
createInstance
in class AbstractModule<AbstractSchemaServiceImplSingletonModule>
Copyright © 2019 OpenDaylight. All rights reserved.