org.ops4j.pax.scanner
Interface Scanner
- All Known Implementing Classes:
- BundleScanner, CompositeScanner, DirScanner, FeaturesScanner, FileScanner, ObrScanner, PomScanner
public interface Scanner
A scanner handles a certain scheme.
- Since:
- August 17, 2007
- Author:
- Alin Dreghiciu
Field Summary |
static java.lang.String |
SCHEMA_PROPERTY
Property name for schema. |
Method Summary |
java.util.List<ScannedBundle> |
scan(ProvisionSpec provisionSpec)
Based on the path the scanner should return a list of scanned bundles for bundles that should be installed. |
SCHEMA_PROPERTY
static final java.lang.String SCHEMA_PROPERTY
- Property name for schema.
- See Also:
- Constant Field Values
scan
java.util.List<ScannedBundle> scan(ProvisionSpec provisionSpec)
throws MalformedSpecificationException,
ScannerException
- Based on the path the scanner should return a list of scanned bundles for bundles that should be installed.
- Parameters:
provisionSpec
- provisioning specification
- Returns:
- a list of bundle references
- Throws:
ScannerException
- - If an exception eccured during scanning
MalformedSpecificationException
- - If the path is malformed
Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.