org.ops4j.pax.runner.provision
Interface ProvisionService

All Known Implementing Classes:
ProvisionServiceImpl

public interface ProvisionService

Provision service allow unified provisioning based on provisioning scheme.

Since:
August 17, 2007
Author:
Alin Dreghiciu

Method Summary
 InstallableBundles scan(java.lang.String spec)
          Parses the spec and based on the provision scheme from the spec delegates to the right provisioning scheme.
The spec has the syntax:
scheme:scheme_specific_path
where:
* scheme is the scheme to be used
* scheme_specific_path is a scheme specific string
 

Method Detail

scan

InstallableBundles scan(java.lang.String spec)
                        throws MalformedSpecificationException,
                               ScannerException
Parses the spec and based on the provision scheme from the spec delegates to the right provisioning scheme.
The spec has the syntax:
scheme:scheme_specific_path
where:
* scheme is the scheme to be used
* scheme_specific_path is a scheme specific string

Parameters:
spec - the provisioning spec
Returns:
a set of installable bundle
Throws:
MalformedSpecificationException - if the scheme is not available or the string could not be parsed
ScannerException - if a scanning process related exception occured


Copyright © 2008. All Rights Reserved.