org.ops4j.pax.runner.provision
Interface Scanner

All Known Implementing Classes:
BundleScanner, DirScanner, 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<BundleReference> scan(java.lang.String path)
          Based on the path the scanner should return a list of bundles references for bundles that should be installed.
 

Field Detail

SCHEMA_PROPERTY

static final java.lang.String SCHEMA_PROPERTY
Property name for schema.

See Also:
Constant Field Values
Method Detail

scan

java.util.List<BundleReference> scan(java.lang.String path)
                                     throws MalformedSpecificationException,
                                            ScannerException
Based on the path the scanner should return a list of bundles references for bundles that should be installed.

Parameters:
path - scanner specif provisioning path.
Returns:
a list of bundle references
Throws:
ScannerException - if an exception eccured durring scanning
MalformedSpecificationException - if the path is malformed


Copyright © 2008. All Rights Reserved.