public class TestDefaultLifecycleManagerBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.osgi.framework.BundleContext |
bundleContext |
protected DefaultLifecycleManager |
defaultLifecycleManager |
protected boolean |
isApplicationSetup |
protected int |
notifyOnStartCalled |
protected com.atlassian.plugin.PluginAccessor |
pluginAccessor |
protected org.osgi.framework.Bundle |
pluginBundle |
protected com.atlassian.plugin.PluginController |
pluginController |
protected com.atlassian.plugin.event.PluginEventManager |
pluginEventManager |
protected String |
pluginKey |
protected org.osgi.framework.ServiceListener |
serviceListener |
| Constructor and Description |
|---|
TestDefaultLifecycleManagerBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
enablePlugin(String pluginKey) |
protected org.osgi.framework.Bundle |
mockBundle(String pluginKey) |
protected io.atlassian.fugue.Pair<LifecycleAware,org.osgi.framework.ServiceReference<LifecycleAware>> |
mockLifecycleAwareAndRegisterService(org.osgi.framework.Bundle bundle,
Class<LifecycleAware> classToMock) |
protected org.osgi.framework.ServiceReference<LifecycleAware> |
registerService(org.osgi.framework.Bundle bundle,
LifecycleAware lifecycleAware) |
void |
setUp() |
protected void |
unregisterService(org.osgi.framework.ServiceReference serviceReference) |
protected final String pluginKey
@Mock protected com.atlassian.plugin.event.PluginEventManager pluginEventManager
@Mock protected com.atlassian.plugin.PluginAccessor pluginAccessor
@Mock protected org.osgi.framework.BundleContext bundleContext
@Mock protected org.osgi.framework.Bundle pluginBundle
@Mock protected com.atlassian.plugin.PluginController pluginController
protected org.osgi.framework.ServiceListener serviceListener
protected boolean isApplicationSetup
protected int notifyOnStartCalled
protected DefaultLifecycleManager defaultLifecycleManager
protected void enablePlugin(String pluginKey)
protected org.osgi.framework.Bundle mockBundle(String pluginKey)
protected io.atlassian.fugue.Pair<LifecycleAware,org.osgi.framework.ServiceReference<LifecycleAware>> mockLifecycleAwareAndRegisterService(org.osgi.framework.Bundle bundle, Class<LifecycleAware> classToMock)
protected org.osgi.framework.ServiceReference<LifecycleAware> registerService(org.osgi.framework.Bundle bundle, LifecycleAware lifecycleAware)
protected void unregisterService(org.osgi.framework.ServiceReference serviceReference)
Copyright © 2018 Atlassian. All rights reserved.