com.github.dynamicextensionsalfresco.osgi.ServicePropertiesProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alfresco-integration Show documentation
Show all versions of alfresco-integration Show documentation
Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features
package com.github.dynamicextensionsalfresco.osgi;
import java.util.List;
import java.util.Map;
/**
* Strategy for providing additional properties about an OSGi Service when it is registered by a
* {@link BundleContextRegistrar}.
*
* @author Laurens Fridael
*
*/
public interface ServicePropertiesProvider {
/**
* Obtains properties for a given service.
*
* @param service
* The service.
* @param serviceNames
* The names under which it will be registered.
* @return The service properties or null if none could be determined.
*/
Map getServiceProperties(Object service, List serviceNames);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy