public abstract class AbstractDataSourceFactory extends java.lang.Object implements ConfigurationFactory
| Constructor and Description |
|---|
AbstractDataSourceFactory(BundleContext context,
java.util.concurrent.ScheduledExecutorService scheduler) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DefaultDataSource |
createDataSource() |
void |
delete(UserInformation userInformation,
java.lang.String configurationId)
receive configuration delete request
|
void |
dispose() |
java.util.concurrent.ScheduledExecutorService |
getScheduler() |
void |
update(UserInformation userInformation,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> properties)
receive configuration update
|
public AbstractDataSourceFactory(BundleContext context,
java.util.concurrent.ScheduledExecutorService scheduler)
public java.util.concurrent.ScheduledExecutorService getScheduler()
public void delete(UserInformation userInformation,
java.lang.String configurationId)
throws java.lang.Exception
ConfigurationFactorydelete in interface ConfigurationFactoryuserInformation - the principal that performed the change, may be nullconfigurationId - the configuration object to changejava.lang.Exception - can be thrown if anything goes wrong changing the configurationpublic void update(UserInformation userInformation,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> properties)
throws java.lang.Exception
ConfigurationFactoryupdate in interface ConfigurationFactoryuserInformation - the principal that performed the change, may be nullconfigurationId - the configuration object to changeproperties - the new propertiesjava.lang.Exception - can be thrown if anything goes wrong changing the configurationprotected abstract DefaultDataSource createDataSource()
public void dispose()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0