Package com.atlassian.confluence.plugin
Class DatabaseClassLoadingPluginLoader
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.atlassian.plugin.loaders.ForwardingPluginLoader
-
- com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader
-
- All Implemented Interfaces:
com.atlassian.plugin.loaders.DiscardablePluginLoader
,com.atlassian.plugin.loaders.DynamicPluginLoader
,com.atlassian.plugin.loaders.PluginLoader
public class DatabaseClassLoadingPluginLoader extends com.atlassian.plugin.loaders.ForwardingPluginLoader
A plugin loader implementation that copies plugins from thePluginDataDao
to a working directory on the filesystem, then delegates toScanningPluginLoader
which performs the actual class loading from this directory.
-
-
Constructor Summary
Constructors Constructor Description DatabaseClassLoadingPluginLoader(PluginDirectoryProvider directoryProvider, PluginDataDao pluginDataDao, TenantRegistry tenantRegistry, List<com.atlassian.plugin.factories.PluginFactory> listPluginFactories, com.atlassian.plugin.event.PluginEventManager pluginEventManager, TransactionalHostContextAccessor hostContextAccessor)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionalPluginLoader
create(PluginDirectoryProvider directoryProvider, PluginDataDao pluginDataDao, TenantRegistry tenantRegistry, List<com.atlassian.plugin.factories.PluginFactory> listPluginFactories, com.atlassian.plugin.event.PluginEventManager pluginEventManager, TransactionalHostContextAccessor hostContextAccessor)
-
-
-
Constructor Detail
-
DatabaseClassLoadingPluginLoader
@Deprecated public DatabaseClassLoadingPluginLoader(PluginDirectoryProvider directoryProvider, PluginDataDao pluginDataDao, TenantRegistry tenantRegistry, List<com.atlassian.plugin.factories.PluginFactory> listPluginFactories, com.atlassian.plugin.event.PluginEventManager pluginEventManager, TransactionalHostContextAccessor hostContextAccessor)
-
-
Method Detail
-
create
public static TransactionalPluginLoader create(PluginDirectoryProvider directoryProvider, PluginDataDao pluginDataDao, TenantRegistry tenantRegistry, List<com.atlassian.plugin.factories.PluginFactory> listPluginFactories, com.atlassian.plugin.event.PluginEventManager pluginEventManager, TransactionalHostContextAccessor hostContextAccessor)
- Since:
- 7.16
-
-