public class PullManager extends Object implements ConfigurationFactory
Modifier and Type | Field and Description |
---|---|
static String |
FACTORY_ID |
Constructor and Description |
---|
PullManager() |
Modifier and Type | Method and Description |
---|---|
void |
delete(UserInformation userInformation,
String configurationId)
receive configuration delete request
|
void |
dispose() |
void |
run() |
void |
runOnce() |
protected void |
transferEntry(Site site,
ConnectionContext localContext,
ConnectionContext context,
ResultSet resultSet) |
protected void |
transferSite(Site site,
ConnectionContext localContext,
ConnectionContext context) |
void |
update(UserInformation userInformation,
String configurationId,
Map<String,String> properties)
receive configuration update
|
public static final String FACTORY_ID
public PullManager() throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public void dispose()
public void run()
public void runOnce() throws SQLException
SQLException
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 configurationprotected void transferSite(Site site, ConnectionContext localContext, ConnectionContext context) throws SQLException
SQLException
protected void transferEntry(Site site, ConnectionContext localContext, ConnectionContext context, ResultSet resultSet) throws SQLException
SQLException
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 configurationCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.