com.atlassian.confluence.plugin
Class DatabaseClassLoadingPluginLoader
java.lang.Object
  
com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader
- All Implemented Interfaces: 
 - PluginLoader
 
public class DatabaseClassLoadingPluginLoader
- extends Object
- implements 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<PluginFactory> listPluginFactories,
                                        PluginEventManager pluginEventManager)
loadAllPlugins
public Collection<Plugin> loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
- Specified by:
 loadAllPlugins in interface PluginLoader
 
 
supportsRemoval
public boolean supportsRemoval()
- Specified by:
 supportsRemoval in interface PluginLoader
 
 
supportsAddition
public boolean supportsAddition()
- Specified by:
 supportsAddition in interface PluginLoader
 
 
addFoundPlugins
public Collection<Plugin> addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
                                   throws PluginParseException
- Specified by:
 addFoundPlugins in interface PluginLoader
 
- Throws:
 PluginParseException
 
removePlugin
public void removePlugin(Plugin plugin)
                  throws PluginException
- Specified by:
 removePlugin in interface PluginLoader
 
- Throws:
 PluginException