com.atlassian.confluence.plugin
Class DatabasePluginScanner

java.lang.Object
  extended by com.atlassian.confluence.plugin.DatabasePluginScanner
All Implemented Interfaces:
com.atlassian.plugin.loaders.classloading.Scanner

public class DatabasePluginScanner
extends java.lang.Object
implements com.atlassian.plugin.loaders.classloading.Scanner

Scans the database for plugin data.


Constructor Summary
DatabasePluginScanner(PluginDataDao pluginDataDao, java.io.File workDir)
           
 
Method Summary
 java.util.Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> getDeploymentUnits()
           
 void remove(com.atlassian.plugin.loaders.classloading.DeploymentUnit deploymentUnit)
           
 void reset()
           
 java.util.Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> scan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabasePluginScanner

public DatabasePluginScanner(PluginDataDao pluginDataDao,
                             java.io.File workDir)
Method Detail

scan

public java.util.Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> scan()
Specified by:
scan in interface com.atlassian.plugin.loaders.classloading.Scanner

getDeploymentUnits

public java.util.Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> getDeploymentUnits()
Specified by:
getDeploymentUnits in interface com.atlassian.plugin.loaders.classloading.Scanner

reset

public void reset()
Specified by:
reset in interface com.atlassian.plugin.loaders.classloading.Scanner

remove

public void remove(com.atlassian.plugin.loaders.classloading.DeploymentUnit deploymentUnit)
            throws com.atlassian.plugin.PluginException
Specified by:
remove in interface com.atlassian.plugin.loaders.classloading.Scanner
Throws:
com.atlassian.plugin.PluginException


Copyright © 2003-2013 Atlassian. All Rights Reserved.