public class VariableManagerImpl extends Object implements VariableManager, ConfigurationFactory
FACTORY_ID
Constructor and Description |
---|
VariableManagerImpl(Executor executor,
ManageableObjectPool<DataItem> itemPool) |
Modifier and Type | Method and Description |
---|---|
void |
addVariableListener(String type,
VariableListener listener) |
void |
delete(UserInformation userInformation,
String configurationId)
receive configuration delete request
|
void |
dispose() |
protected String[] |
makeArgs(String[] toks,
int start) |
protected void |
parseType(Map<String,String> properties,
Collection<org.eclipse.scada.da.server.common.memory.VariableManagerImpl.TypeEntry> result,
String varName,
String typeName,
String[] args,
boolean attribute) |
void |
removeVariableListener(String type,
VariableListener listener) |
void |
update(UserInformation userInformation,
String configurationId,
Map<String,String> properties)
receive configuration update
|
public VariableManagerImpl(Executor executor, ManageableObjectPool<DataItem> itemPool)
public void dispose()
public void addVariableListener(String type, VariableListener listener)
addVariableListener
in interface VariableManager
public void removeVariableListener(String type, VariableListener listener)
removeVariableListener
in interface VariableManager
public 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 configurationpublic 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 configuration