public class DatabasePluginScanner extends Object implements com.atlassian.plugin.loaders.classloading.Scanner
Modifier | Constructor and Description |
---|---|
|
DatabasePluginScanner(PluginDataDao pluginDataDao,
File workDir,
TenantRegistry tenantRegistry,
TransactionalHostContextAccessor hostContextAccessor) |
protected |
DatabasePluginScanner(PluginDataDao pluginDataDao,
File workDir,
TenantRegistry tenantRegistry,
TransactionalHostContextAccessor hostContextAccessor,
Supplier<Boolean> isDatabaseConfigured) |
Modifier and Type | Method and Description |
---|---|
Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> |
getDeploymentUnits() |
void |
remove(com.atlassian.plugin.loaders.classloading.DeploymentUnit deploymentUnit) |
void |
reset() |
Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> |
scan() |
public DatabasePluginScanner(PluginDataDao pluginDataDao, File workDir, TenantRegistry tenantRegistry, TransactionalHostContextAccessor hostContextAccessor)
protected DatabasePluginScanner(PluginDataDao pluginDataDao, File workDir, TenantRegistry tenantRegistry, TransactionalHostContextAccessor hostContextAccessor, Supplier<Boolean> isDatabaseConfigured)
public Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> scan()
scan
in interface com.atlassian.plugin.loaders.classloading.Scanner
public Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> getDeploymentUnits()
getDeploymentUnits
in interface com.atlassian.plugin.loaders.classloading.Scanner
public void reset()
reset
in interface com.atlassian.plugin.loaders.classloading.Scanner
public void remove(com.atlassian.plugin.loaders.classloading.DeploymentUnit deploymentUnit) throws com.atlassian.plugin.PluginException
remove
in interface com.atlassian.plugin.loaders.classloading.Scanner
com.atlassian.plugin.PluginException
Copyright © 2003–2019 Atlassian. All rights reserved.