public class ConfigurationAdminImpl extends AbstractConfigurationAdministrator
AbstractConfigurationAdministrator.CompositeFuture<T>, AbstractConfigurationAdministrator.ConfigurationFuture, AbstractConfigurationAdministrator.PatchFuture, AbstractConfigurationAdministrator.PurgeFuture
FACTORY_ID
Constructor and Description |
---|
ConfigurationAdminImpl(org.osgi.framework.BundleContext context,
com.google.common.collect.Interner<String> stringInterner) |
Modifier and Type | Method and Description |
---|---|
protected File |
getRootFile() |
protected String |
intern(String string) |
protected void |
performDeleteConfiguration(UserInformation userInformation,
String factoryId,
String configurationId,
AbstractConfigurationAdministrator.ConfigurationFuture future) |
protected void |
performInitialLoad() |
protected void |
performLoadFactory(String factoryId) |
protected void |
performPurge(UserInformation userInformation,
String factoryId,
AbstractConfigurationAdministrator.PurgeFuture future) |
protected void |
performStoreConfiguration(UserInformation userInformation,
String factoryId,
String configurationId,
Map<String,String> properties,
boolean fullSet,
AbstractConfigurationAdministrator.ConfigurationFuture future) |
protected void |
provisionData() |
void |
start() |
protected Map<String,String> |
writeConfiguraton(String factoryId,
String configurationId,
Map<String,String> properties,
boolean fullSet) |
addFactoryService, addingService, addStoredFactory, applyConfiguration, applyDiff, changeConfiguration, createConfiguration, deleteConfiguration, dispose, freeze, getConfiguration, getConfigurations, getFactory, getKnownFactories, purgeFactory, removedService, removeFactoryService, setFactoryState, stop, thaw, updateConfiguration
protected File getRootFile()
public void start() throws Exception
start
in class AbstractConfigurationAdministrator
Exception
protected void performInitialLoad()
protected void performLoadFactory(String factoryId) throws Exception
Exception
protected void performPurge(UserInformation userInformation, String factoryId, AbstractConfigurationAdministrator.PurgeFuture future) throws Exception
performPurge
in class AbstractConfigurationAdministrator
Exception
protected Map<String,String> writeConfiguraton(String factoryId, String configurationId, Map<String,String> properties, boolean fullSet) throws Exception
Exception
protected void performStoreConfiguration(UserInformation userInformation, String factoryId, String configurationId, Map<String,String> properties, boolean fullSet, AbstractConfigurationAdministrator.ConfigurationFuture future) throws FileNotFoundException, IOException
performStoreConfiguration
in class AbstractConfigurationAdministrator
FileNotFoundException
IOException
protected void performDeleteConfiguration(UserInformation userInformation, String factoryId, String configurationId, AbstractConfigurationAdministrator.ConfigurationFuture future) throws Exception
performDeleteConfiguration
in class AbstractConfigurationAdministrator
Exception
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.