public abstract class AbstractManagedConnectionServiceFactory<ConnectionServiceType extends ConnectionService> extends Object implements ConfigurationFactory
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_URI |
Constructor and Description |
---|
AbstractManagedConnectionServiceFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractConnectionManager<ConnectionServiceType> |
createConnectionManager(String pid,
String uri) |
void |
delete(UserInformation userInformation,
String pid)
receive configuration delete request
|
void |
dispose() |
void |
update(UserInformation userInformation,
String pid,
Map<String,String> properties)
receive configuration update
|
public static final String CONNECTION_URI
public AbstractManagedConnectionServiceFactory()
public void delete(UserInformation userInformation, String pid)
ConfigurationFactory
delete
in interface ConfigurationFactory
userInformation
- the principal that performed the change, may be null
pid
- the configuration object to changepublic void update(UserInformation userInformation, String pid, Map<String,String> properties)
ConfigurationFactory
update
in interface ConfigurationFactory
userInformation
- the principal that performed the change, may be null
pid
- the configuration object to changeproperties
- the new propertiesprotected abstract AbstractConnectionManager<ConnectionServiceType> createConnectionManager(String pid, String uri)
public void dispose()