public interface ConfigTransactionController extends LookupRegistry, ServiceReferenceWritableRegistry
Modifier and Type | Method and Description |
---|---|
void |
abortConfig()
Destroy current transaction.
|
ObjectName |
createModule(String moduleName,
String instanceName)
Create new configuration bean.
|
void |
destroyModule(ObjectName objectName)
Destroy existing module.
|
Set<String> |
getAvailableModuleNames()
Get the names of all available modules.
|
String |
getTransactionName()
Get the name of the transaction.
|
void |
reCreateModule(ObjectName objectName)
Re-creates an existing module configuration bean.
|
void |
validateConfig()
This method can be called multiple times, has no side effects.
|
checkConfigBeanExists, getAvailableModuleFactoryQNames, lookupConfigBean, lookupConfigBeans, lookupConfigBeans, lookupConfigBeans, lookupRuntimeBeans, lookupRuntimeBeans
removeAllServiceReferences, removeServiceReference, removeServiceReferences, saveServiceReference
checkServiceReferenceExists, getServiceInterfaceName, getServiceMapping, getServiceReference, lookupConfigBeanByServiceInterfaceName, lookupServiceInterfaceNames, lookupServiceReferencesByServiceInterfaceName
ObjectName createModule(String moduleName, String instanceName) throws InstanceAlreadyExistsException
moduleName
- name of the moduleinstanceName
- name of the instanceInstanceAlreadyExistsException
- if given ifcName and instanceName is already registeredvoid reCreateModule(ObjectName objectName) throws InstanceNotFoundException
objectName
- can be either read-only module name that can be obtained using
LookupRegistry.lookupConfigBean(String, String)
or
writable module name that must contain current transaction name.InstanceNotFoundException
- if module is not foundIllegalArgumentException
- if object name contains wrong transaction name or domainvoid destroyModule(ObjectName objectName) throws InstanceNotFoundException
objectName
- can be either read-only module name that can be obtained using
LookupRegistry.lookupConfigBean(String, String)
or
writable module name that must contain current transaction name.InstanceNotFoundException
- if module is not foundIllegalArgumentException
- if object name contains wrong transaction name or domainvoid abortConfig()
void validateConfig() throws ValidationException
ValidationException
- if validation failsString getTransactionName()
Set<String> getAvailableModuleNames()
ModuleFactory.getImplementationName()
Copyright © 2019 OpenDaylight. All rights reserved.