All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ops4j.pax.configmanager.IConfigurationUpdater Maven / Gradle / Ivy

Go to download

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy