com.atlassian.confluence.plugin
Class DatabaseClassLoadingPluginLoader
java.lang.Object
com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader
- All Implemented Interfaces:
- com.atlassian.plugin.loaders.PluginLoader
public class DatabaseClassLoadingPluginLoader
- extends Object
- implements com.atlassian.plugin.loaders.PluginLoader
A plugin loader implementation that copies plugins from the PluginDataDao
to a working directory on the filesystem, then delegates to DirectoryPluginLoader
which performs the actual class loading from this directory.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESCAN_FUDGE_FACTOR_MS
public static final int RESCAN_FUDGE_FACTOR_MS
- See Also:
- Constant Field Values
DatabaseClassLoadingPluginLoader
public DatabaseClassLoadingPluginLoader(PluginDirectoryProvider directoryProvider,
PluginDataDao pluginDataDao,
BootstrapManager bootstrapManager,
List<com.atlassian.plugin.factories.PluginFactory> listPluginFactories,
com.atlassian.plugin.event.PluginEventManager pluginEventManager)
loadAllPlugins
public Collection<com.atlassian.plugin.Plugin> loadAllPlugins(com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
- Specified by:
loadAllPlugins
in interface com.atlassian.plugin.loaders.PluginLoader
supportsRemoval
public boolean supportsRemoval()
- Specified by:
supportsRemoval
in interface com.atlassian.plugin.loaders.PluginLoader
supportsAddition
public boolean supportsAddition()
- Specified by:
supportsAddition
in interface com.atlassian.plugin.loaders.PluginLoader
addFoundPlugins
public Collection<com.atlassian.plugin.Plugin> addFoundPlugins(com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
throws com.atlassian.plugin.PluginParseException
- Specified by:
addFoundPlugins
in interface com.atlassian.plugin.loaders.PluginLoader
- Throws:
com.atlassian.plugin.PluginParseException
removePlugin
public void removePlugin(com.atlassian.plugin.Plugin plugin)
throws com.atlassian.plugin.PluginException
- Specified by:
removePlugin
in interface com.atlassian.plugin.loaders.PluginLoader
- Throws:
com.atlassian.plugin.PluginException
Copyright © 2003-2012 Atlassian. All Rights Reserved.