public interface ConfiguratorManager extends SystemObserver
Configurator interface for preconfiguration.
This interface is exposed as service in terms of OSGi on the
Control Center framework.BASE_DN, DB_SERVER_NAME, DB_SERVER_TYPE, DB_SERVER_TYPE_JDBC, DB_SERVER_TYPE_LDAP, DRIVER, DRIVER_LIB, DRIVER_LIB_NAME, HOST, MAX_CONNECTIONS, MAX_RO_CONNECTIONS, MAX_STATEMENTS, PASSWORD, PORT, SYSTEM_DB_SERVER, URL, USERDATABASE_NAME| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurationListener(ConfigurationListener listener)
Adds configuration listener.
|
void |
addHostListener(HostListener listener)
Adds
HostListener object to the queue of listeners. |
Configurator |
createConfigurator()
Returns Configurator interface which can be used to change the current
system configurations & backend modules.
|
BackendBundleAdmin |
getBackendBundleAdmin(java.lang.String hostId)
Returns
BackendBundleAdmin interface responsible for the runtime
administration of the bundles on the backend server host. |
Configurator |
getConfigurator()
Deprecated.
|
Configurator |
getConfigurator(java.util.Dictionary configuration)
Deprecated.
|
void |
removeConfigurationListener(ConfigurationListener listener)
Removes configuration listener.
|
void |
removeHostListener(HostListener listener)
Removes
HostListener object from the queue of listeners. |
void |
shutdown()
Causes the mPRM system to stop operation by shutting down all backend hosts.
|
void |
shutdown(java.lang.String hostId)
Causes to shutting a single specified backend host.
|
getBackendServerHost, getBackendServerHostIds, getBackendServerHosts, getBackendServerHosts, getContextManagementServerIds, getContextManagementServers, getManagementServer, getManagementServerIds, getManagementServers, getNetwork, getNetworkBackendServerHosts, getNetworks, getStrictContextManagementServerId, getSystemState, unObservedContextsgetDBServerConfiguration, getDBServerNames, getDBServerNames, getDriver, getDriverIds, getSystemDBServer, removeDriver, uploadDrivergetConfigurableDatabases, getDBConfigMetaData, getDBConfiguration, getDBFactoryConfigurations, getPidsOfDBFactoryConfigurationaddBundle, addBundlePack, addPermission, createFactoryConfiguration, deleteConfiguration, getBundle, getBundle, getBundlePack, getBundlePacks, getBundles, getBundles, getBundleStream, getConfiguration, getMetaTypeProvider, getMetaTypeProviders, getPermissions, getPidsOfFactoryConfiguration, removeBundle, removeBundlePack, removePermission, setConfiguration, setPermissions, updateBundle, updateBundlePack, updateBundleTargetsConfigurator getConfigurator() throws CommunicationException, java.lang.Exception
{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.ExceptionConfigurator getConfigurator(java.util.Dictionary configuration) throws CommunicationException, java.lang.Exception
configuration - become system database configuration.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.ExceptionConfigurator createConfigurator() throws CommunicationException, java.lang.Exception
Configurator.init(java.util.Dictionary){@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.ExceptionConfigurator.init(java.util.Dictionary)BackendBundleAdmin getBackendBundleAdmin(java.lang.String hostId) throws CommunicationException, java.lang.Exception
BackendBundleAdmin interface responsible for the runtime
administration of the bundles on the backend server host.hostId - identificator of hostBackendBundleAdmin object for administrating specified backend
server host.{@link - CommunicationException} is thrown if communication with the remote
Control Center fails.Exception - is thrown if some other error occurs.CommunicationExceptionjava.lang.Exceptionvoid shutdown()
throws CommunicationException,
java.lang.Exception
CommunicationException - is thrown if communication with the remote
Control Center fails.java.lang.Exception - is thrown if some other error occurs.CommunicationExceptionvoid shutdown(java.lang.String hostId)
throws CommunicationException,
java.lang.Exception
hostId - identifier of the backend host to be shutdownCommunicationException - is thrown if communication with the remote
Control Center fails.java.lang.Exception - is thrown if some other error occurs.CommunicationExceptionvoid addConfigurationListener(ConfigurationListener listener)
listener - listener to be addedConfigurationListenervoid removeConfigurationListener(ConfigurationListener listener)
listener - listener to be removedConfigurationListenervoid addHostListener(HostListener listener)
HostListener object to the queue of listeners.listener - listener to be addedvoid removeHostListener(HostListener listener)
HostListener object from the queue of listeners.
Note: If this service is unregistered all listeners will be removed!listener - listener to be removedCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.