| Package | Description |
|---|---|
| com.atlassian.plugin.osgi.container |
Classes to manage interactions with an OSGi container
|
| com.atlassian.plugin.osgi.container.felix |
Classes to manage interactions with the Apache Felix container
|
| com.atlassian.plugin.osgi.container.impl | |
| com.atlassian.plugin.osgi.factory |
Deployers for OSGi-related plugins
|
| Modifier and Type | Method and Description |
|---|---|
void |
OsgiPersistentCache.clear()
Clear all caches
|
org.osgi.framework.Bundle |
OsgiContainerManager.installBundle(File file)
Deprecated.
since 4.0.0, to be removed in 5.0.0: Use
OsgiContainerManager.installBundle(File, ReferenceMode) and explicitly specify
reference semantics. |
org.osgi.framework.Bundle |
OsgiContainerManager.AllowsReferenceInstall.installBundle(File file,
boolean allowReference)
Deprecated.
|
org.osgi.framework.Bundle |
OsgiContainerManager.installBundle(File file,
ReferenceMode referenceMode)
Installs a bundle into a running OSGI container.
|
static org.osgi.framework.Bundle |
OsgiContainerManager.AllowsReferenceInstall.Default.installBundle(OsgiContainerManager osgiContainerManager,
File file,
boolean allowReference)
|
void |
OsgiContainerManager.start()
Starts the OSGi container
|
void |
OsgiContainerManager.stop()
Stops the OSGi container
|
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Bundle |
FelixOsgiContainerManager.installBundle(File file) |
org.osgi.framework.Bundle |
FelixOsgiContainerManager.installBundle(File file,
boolean allowReference)
Deprecated.
since 4.0.0, to be removed in 5.0.0: Use
FelixOsgiContainerManager.installBundle(File, ReferenceMode). |
org.osgi.framework.Bundle |
FelixOsgiContainerManager.installBundle(File file,
ReferenceMode referenceMode) |
void |
FelixOsgiContainerManager.start() |
void |
FelixOsgiContainerManager.stop() |
| Constructor and Description |
|---|
FelixOsgiContainerManager(File frameworkBundlesDirectory,
OsgiPersistentCache persistentCache,
PackageScannerConfiguration packageScannerConfig,
HostComponentProvider provider,
com.atlassian.plugin.event.PluginEventManager eventManager)
Constructs the container manager.
|
FelixOsgiContainerManager(URL frameworkBundlesZip,
OsgiPersistentCache persistentCache,
PackageScannerConfiguration packageScannerConfig,
HostComponentProvider provider,
com.atlassian.plugin.event.PluginEventManager eventManager)
Constructs the container manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultOsgiPersistentCache.clear() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
OsgiPlugin.disableInternal()
Disables the plugin by changing the bundle state back to resolved
|
protected PluginState |
OsgiPlugin.enableInternal()
Enables the plugin by setting the OSGi bundle state to enabled.
|
protected void |
OsgiBundlePlugin.installInternal() |
protected void |
OsgiPlugin.uninstallInternal()
Uninstalls the bundle from the OSGi container
|
Copyright © 2018 Atlassian. All rights reserved.