public abstract class PluginInContainerTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected File |
cacheDir |
protected File |
frameworkBundlesDir |
protected SimpleConstructorHostContainer |
hostContainer |
protected ModuleDescriptorFactory |
moduleDescriptorFactory |
protected ModuleFactory |
moduleFactory |
protected FelixOsgiContainerManager |
osgiContainerManager |
protected PluginAccessor |
pluginAccessor |
protected PluginController |
pluginController |
protected PluginEventManager |
pluginEventManager |
com.atlassian.plugin.osgi.PluginInContainerTestBase.PluginManagerProvider |
pluginManagerProvider |
protected File |
pluginsDir |
protected SplitStartupPluginSystemLifecycle |
pluginSystemLifecycle |
protected PluginPersistentStateStore |
store |
String |
testDescription |
protected File |
tmpDir |
| Constructor and Description |
|---|
PluginInContainerTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected SimpleConstructorHostContainer |
createHostContainer(Map<Class<?>,Object> originalContext) |
static Collection<Object[]> |
data() |
protected void |
initBundlingPluginManager(ModuleDescriptorFactory moduleDescriptorFactory,
File... bundledPluginJars) |
protected void |
initPluginManager() |
protected void |
initPluginManager(HostComponentProvider hostComponentProvider) |
protected void |
initPluginManager(HostComponentProvider hostComponentProvider,
ModuleDescriptorFactory moduleDescriptorFactory) |
protected void |
initPluginManager(HostComponentProvider hostComponentProvider,
ModuleDescriptorFactory moduleDescriptorFactory,
String version) |
protected void |
initPluginManager(ModuleDescriptorFactory moduleDescriptorFactory,
List<PluginLoader> loader) |
protected void |
initPluginManager(ModuleDescriptorFactory moduleDescriptorFactory,
PluginLoader loader) |
void |
setUp() |
void |
tearDown() |
protected FelixOsgiContainerManager osgiContainerManager
protected File tmpDir
protected File cacheDir
protected File pluginsDir
protected File frameworkBundlesDir
protected ModuleDescriptorFactory moduleDescriptorFactory
protected PluginController pluginController
protected PluginAccessor pluginAccessor
protected SplitStartupPluginSystemLifecycle pluginSystemLifecycle
protected PluginEventManager pluginEventManager
protected ModuleFactory moduleFactory
protected SimpleConstructorHostContainer hostContainer
protected PluginPersistentStateStore store
public String testDescription
public com.atlassian.plugin.osgi.PluginInContainerTestBase.PluginManagerProvider pluginManagerProvider
public static Collection<Object[]> data()
protected SimpleConstructorHostContainer createHostContainer(Map<Class<?>,Object> originalContext)
protected void initPluginManager(HostComponentProvider hostComponentProvider) throws Exception
Exceptionprotected void initPluginManager(HostComponentProvider hostComponentProvider, ModuleDescriptorFactory moduleDescriptorFactory, String version) throws Exception
Exceptionprotected void initPluginManager(HostComponentProvider hostComponentProvider, ModuleDescriptorFactory moduleDescriptorFactory) throws Exception
Exceptionprotected void initPluginManager(ModuleDescriptorFactory moduleDescriptorFactory, List<PluginLoader> loader) throws Exception
Exceptionprotected void initPluginManager(ModuleDescriptorFactory moduleDescriptorFactory, PluginLoader loader) throws Exception
Exceptionprotected void initBundlingPluginManager(ModuleDescriptorFactory moduleDescriptorFactory, File... bundledPluginJars) throws Exception
ExceptionCopyright © 2019 Atlassian. All rights reserved.