aQute.bnd.service.Plugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bnd Show documentation
Show all versions of biz.aQute.bnd Show documentation
This command line utility is the Swiss army knife of OSGi. It provides you with a breadth of tools to understand and manage OSGi based systems. This project basically uses bndlib.
package aQute.bnd.service;
import java.util.Map;
import aQute.service.reporter.Reporter;
/**
* An optional interface for plugins. If a plugin implements this interface then
* it can receive the reminaing attributes and directives given in its clause as
* well as the reporter to use.
*/
public interface Plugin {
/**
* Give the plugin the remaining properties. When a plugin is declared, the
* clause can contain extra properties. All the properties and directives
* are given to the plugin to use.
*
* @param map attributes and directives for this plugin's clause
* @throws Exception
*/
void setProperties(Map map) throws Exception;
/**
* Set the current reporter. This is called at init time. This plugin should
* report all errors and warnings to this reporter.
*
* @param processor
*/
void setReporter(Reporter processor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy