public class SelfManagedConfigurationFactoryImpl extends java.lang.Object implements SelfManagedConfigurationFactory
| Constructor and Description |
|---|
SelfManagedConfigurationFactoryImpl(java.lang.String factoryId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurationListener(ConfigurationListener listener)
Add a new configuration listener to the factory
|
|
delete(java.lang.String configurationId) |
|
purge()
Delete all configurations at once
|
void |
removeConfigurationListener(ConfigurationListener listener)
Remove a listener from the factory
|
void |
start() |
void |
stop() |
|
update(java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> properties,
boolean fullSet) |
public SelfManagedConfigurationFactoryImpl(java.lang.String factoryId)
public void start()
public void stop()
public void addConfigurationListener(ConfigurationListener listener)
SelfManagedConfigurationFactoryIf the listener is already registered the method has no effect.
The listener is added to the factory and will receive updates from now on. Before the method return it will call the listener once with the already known configuration element using an "add" notification.
addConfigurationListener in interface SelfManagedConfigurationFactorylistener - The new listener to addpublicpurge()
SelfManagedConfigurationFactorypurge in interface SelfManagedConfigurationFactorypublicdelete(java.lang.String configurationId)
delete in interface SelfManagedConfigurationFactorypublic void removeConfigurationListener(ConfigurationListener listener)
SelfManagedConfigurationFactoryIf the listener is not currently attache to the factory the call has no effect.
removeConfigurationListener in interface SelfManagedConfigurationFactorypublicupdate(java.lang.String configurationId, java.util.Map<java.lang.String,java.lang.String> properties, boolean fullSet)
update in interface SelfManagedConfigurationFactory
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