org.ops4j.pax.configmanager.IConfigurationUpdater Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pax-confman-propsloader Show documentation
Show all versions of pax-confman-propsloader Show documentation
Pax Configuration Manger Service provides a framework to read files (default property files handling is supplied)
from a directory and use ConfigurationAdmin to update the service with the properties loaded.
The newest version!
package org.ops4j.pax.configmanager;
import java.io.IOException;
import org.osgi.framework.InvalidSyntaxException;
public interface IConfigurationUpdater
{
/**
* Initiate an update of a managed service with a given service.pid.
*
* @param servicePid the service.pid of the service that should be updated.
* @throws IllegalStateException if no ConfigurationAdmin service is available
* @throws IOException in case of errors while loading the configuration
* @throws InvalidSyntaxException if there are erroneous filters while trying to retrieve configurations from the
* ConfigurationAdmin
*/
public void updateConfiguration( String servicePid )
throws IllegalStateException,
IOException,
InvalidSyntaxException;
}