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 java.lang.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 ClassLoadingPluginLoader
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(BootstrapManager bootstrapManager,
com.atlassian.plugin.loaders.PluginFactory pluginFactory)
setWorkDir
public void setWorkDir(java.io.File workDir)
setPluginDataDao
public void setPluginDataDao(PluginDataDao pluginDataDao)
loadAllPlugins
public java.util.Collection loadAllPlugins(com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
throws com.atlassian.plugin.PluginParseException
- Specified by:
loadAllPlugins
in interface com.atlassian.plugin.loaders.PluginLoader
- Throws:
com.atlassian.plugin.PluginParseException
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 java.util.Collection 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-2008 Atlassian Pty Ltd. All Rights Reserved.