|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeploymentScannerService
A service that scans a directory location for new/removed bundles.
| Nested Class Summary | |
|---|---|
static interface |
DeploymentScannerService.ScanListener
A ScanListener can be registered with the DeploymentScannerService
to monitor the progress of deployed bundles |
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_SCAN_INTERVAL
The property to defines the scan interval: org.jboss.osgi.hotdeploy.interval |
static java.lang.String |
PROPERTY_SCAN_LOCATION
The property that names the scan location: org.jboss.osgi.hotdeploy.scandir |
| Method Summary | |
|---|---|
void |
addScanListener(DeploymentScannerService.ScanListener listener)
Add a scan listener to this service |
BundleInfo[] |
getBundles()
Returns the array of bundles currently known to the deployemtn scanner. |
long |
getLastChange()
The timestamp of the last change |
long |
getScanCount()
The number of scans since the service started |
long |
getScanInterval()
The number of milliseconds between scans Defaults to 2000ms |
java.net.URL |
getScanLocation()
Get the scan location URL. |
void |
removeScanListener(DeploymentScannerService.ScanListener listener)
Remove the scan listener from this service |
void |
scan()
Run a directory scan |
| Field Detail |
|---|
static final java.lang.String PROPERTY_SCAN_LOCATION
static final java.lang.String PROPERTY_SCAN_INTERVAL
| Method Detail |
|---|
java.net.URL getScanLocation()
PROPERTY_SCAN_LOCATION property.
long getScanCount()
long getScanInterval()
long getLastChange()
void scan()
BundleInfo[] getBundles()
void addScanListener(DeploymentScannerService.ScanListener listener)
void removeScanListener(DeploymentScannerService.ScanListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||