Method Summary
All Methods Instance Methods Abstract Methods
Method Details
getCallingBundle
@Nonnull
Optional <org.osgi.framework.Bundle> getCallingBundle ()
Returns:
the OSGI bundle from which the current call-site has been called, or Optional.empty() if not
called from an OSGI bundle, or the bundle cannot be determined
getPluginName
Parameters:
pluginKey - the plugin key to resolve
Returns:
the name of the resolved plugin, or pluginKey if the name could not determined
isUserInstalled
boolean isUserInstalled (org.osgi.framework.Bundle bundle)
Parameters:
bundle - the bundle, possibly null
Returns:
true if the bundle is a non-bundled plugin, otherwise false