public class CAConfigurationFactory extends Object implements ConfigurationFactory, ConfigurationFactory
ConfigurationFactory.Receiver
Constructor and Description |
---|
CAConfigurationFactory(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
void |
delete(UserInformation userInformation,
String configurationId)
receive configuration delete request
|
void |
dispose() |
void |
setReceiver(ConfigurationFactory.Receiver receiver) |
void |
update(UserInformation userInformation,
String configurationId,
Map<String,String> properties)
receive configuration update
|
public CAConfigurationFactory(org.osgi.framework.BundleContext context)
public void dispose()
public void setReceiver(ConfigurationFactory.Receiver receiver)
public void update(UserInformation userInformation, String configurationId, Map<String,String> properties) throws Exception
ConfigurationFactory
update
in interface ConfigurationFactory
userInformation
- the principal that performed the change, may be null
configurationId
- the configuration object to changeproperties
- the new propertiesException
- can be thrown if anything goes wrong changing the configurationpublic void delete(UserInformation userInformation, String configurationId) throws Exception
ConfigurationFactory
delete
in interface ConfigurationFactory
userInformation
- the principal that performed the change, may be null
configurationId
- the configuration object to changeException
- can be thrown if anything goes wrong changing the configurationCopyright © 2017 Eclipse NeoSCADA Project. All rights reserved.