public interface OsgiBackedPlugin extends Plugin
Bundle
There are a few implementations of Plugin interface that are backed by OSGi bundles,
to identify a such implementations all of them should implement current interface
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Bundle |
getBundle()
Returns
OSGi Bundle that corresponds to the current plugin |
addModuleDescriptor, containsSystemModule, disable, enable, getActivePermissions, getClassLoader, getDateEnabled, getDateEnabling, getDateInstalled, getDateLoaded, getDependencies, getI18nNameKey, getInstallationMode, getKey, getModuleDescriptor, getModuleDescriptors, getModuleDescriptorsByModuleClass, getName, getPluginArtifact, getPluginInformation, getPluginState, getPluginsVersion, getResource, getResourceAsStream, hasAllPermissions, install, isBundledPlugin, isDeleteable, isDynamicallyLoaded, isEnabledByDefault, isSystemPlugin, isUninstallable, loadClass, resolve, setEnabledByDefault, setI18nNameKey, setKey, setName, setPluginInformation, setPluginsVersion, setResources, setSystemPlugin, uninstallgetScopeKeygetResourceDescriptor, getResourceDescriptors, getResourceLocationcompareToorg.osgi.framework.Bundle getBundle()
throws IllegalPluginStateException
OSGi Bundle that corresponds to the current plugin
Note that Bundle could be not available on some of Plugin lifecycle
stages. In that case method call results in IllegalPluginStateException
OSGi representation of the current pluginIllegalPluginStateException - if plugin has no OSGi representation yetCopyright © 2019 Atlassian. All rights reserved.