Package org.killbill.billing.osgi.api
Interface PluginsInfoApi
-
- All Superinterfaces:
KillbillApi
public interface PluginsInfoApi extends KillbillApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<PluginInfo>getPluginsInfo()voidnotifyOfStateChanged(PluginStateChange newState, String pluginKey, String pluginName, String pluginVersion, PluginLanguage pluginLanguage)Notify OSGI component that a new plugin was installed (downloaded) on the file system.
-
-
-
Method Detail
-
getPluginsInfo
Iterable<PluginInfo> getPluginsInfo()
- Returns:
- the list of plugins as seen by the OSGI registry
-
notifyOfStateChanged
void notifyOfStateChanged(PluginStateChange newState, String pluginKey, String pluginName, String pluginVersion, PluginLanguage pluginLanguage)
Notify OSGI component that a new plugin was installed (downloaded) on the file system.- Parameters:
newState- the state (currently onlyNEW_VERSIONis allowedpluginKey- the plugin key (used during install/uninstall time)pluginName- the name of the plugin (as seen of the filesystem)pluginVersion- the version of the pluginpluginLanguage- the language (JAVA or RUBY)
-
-