public abstract class AbstractServiceFactory extends java.lang.Object implements ConfigurationFactory
| Constructor and Description |
|---|
AbstractServiceFactory(BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Service |
createService(UserInformation information,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> properties) |
void |
delete(UserInformation information,
java.lang.String configurationId)
receive configuration delete request
|
void |
dispose() |
protected abstract |
registerService(UserInformation information,
BundleContext context,
java.lang.String configurationId,
Service service) |
void |
update(UserInformation information,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> properties)
receive configuration update
|
public void dispose()
public void delete(UserInformation information,
java.lang.String configurationId)
throws java.lang.Exception
ConfigurationFactorydelete in interface ConfigurationFactoryinformation - 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 information,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> properties)
throws java.lang.Exception
ConfigurationFactoryupdate in interface ConfigurationFactoryinformation - 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 Service createService(UserInformation information, java.lang.String configurationId, java.util.Map<java.lang.String,java.lang.String> properties) throws java.lang.Exception
java.lang.Exceptionprotected abstractregisterService(UserInformation information, BundleContext context, java.lang.String configurationId, Service service)
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