public class CrowdOsgiContainerManager
extends com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
ServiceTracker
instances willy nilly, while at the same time circumventing a memory leak in FelixOsgiContainerManager (JRA-18766).Constructor and Description |
---|
CrowdOsgiContainerManager(com.atlassian.plugin.osgi.container.OsgiPersistentCache persistentCache,
com.atlassian.plugin.osgi.container.PackageScannerConfiguration packageScannerConfig,
com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider provider,
com.atlassian.plugin.event.PluginEventManager eventManager,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getOsgiComponentOfType(Class<T> clazz)
Retrieves and returns a public component from OSGi land via its class name.
|
void |
stop() |
addBundleListener, clearExportCache, getBundles, getHostComponentRegistrations, getRegisteredServices, getServiceTracker, getServiceTracker, installBundle, isRunning, onPluginFrameworkWarmRestarting, onPluginUninstallation, onPluginUpgrade, onShutdown, onStart, removeBundleListener, setDisableMultipleBundleVersions, setFelixLogger, start
public CrowdOsgiContainerManager(com.atlassian.plugin.osgi.container.OsgiPersistentCache persistentCache, com.atlassian.plugin.osgi.container.PackageScannerConfiguration packageScannerConfig, com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider provider, com.atlassian.plugin.event.PluginEventManager eventManager, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory)
public <T> T getOsgiComponentOfType(Class<T> clazz)
Added as part of the fix for JRADEV-6195.
clazz
- The interface class as a Stringpublic void stop() throws com.atlassian.plugin.osgi.container.OsgiContainerException
stop
in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
stop
in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
com.atlassian.plugin.osgi.container.OsgiContainerException
Copyright © 2020 Atlassian. All rights reserved.