|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Scanner
Monitors some hypothetical space for deployed plugins. Due to limitations in the plugin system, plugins must at some point be represented as files, so for situations where plugins are not files (i.e. database-stored plugins) the scanner is responsible for copying them to the filesystem before they are used)
| Method Summary | |
|---|---|
java.util.Collection<DeploymentUnit> |
getDeploymentUnits()
Gets all deployment units currently being tracked by the scanner. |
void |
remove(DeploymentUnit unit)
Remove the specified deployment unit in such a way as it will not be picked up by subsequent scans, even if the system is restarted. |
void |
reset()
Reset the scanner. |
java.util.Collection<DeploymentUnit> |
scan()
Scan for new deployment units. |
| Method Detail |
|---|
java.util.Collection<DeploymentUnit> scan()
java.util.Collection<DeploymentUnit> getDeploymentUnits()
void reset()
void remove(DeploymentUnit unit)
throws PluginException
unit - the deployment unit to remove
PluginException - if the unit has not been properly removed: i.e. a restart would mean the unit would
be reloaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||