|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.runner.provision.internal.ProvisionServiceImpl
public class ProvisionServiceImpl
Implementation of Provision Service.
ProvisionService| Constructor Summary | |
|---|---|
ProvisionServiceImpl(org.osgi.framework.BundleContext bundleContext)
Creates a new provision service implementation. |
|
| Method Summary | |
|---|---|
void |
addScanner(Scanner scanner,
java.lang.String scheme)
Adds a new scanner. |
void |
removeScanner(Scanner scanner)
Removes a scanner. |
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 |
void |
setStartLevelService(org.osgi.service.startlevel.StartLevel startLevelService)
Sets the start level service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProvisionServiceImpl(org.osgi.framework.BundleContext bundleContext)
bundleContext - a bundle context| Method Detail |
|---|
public InstallableBundles scan(java.lang.String spec)
throws MalformedSpecificationException,
ScannerException
ProvisionService
scan in interface ProvisionServicespec - the provisioning spec
MalformedSpecificationException - if the scheme is not available or the string could not be parsed
ScannerException - if a scanning process related exception occuredProvisionService.scan(String)
public void addScanner(Scanner scanner,
java.lang.String scheme)
scheme - the scheme the scanner handlesscanner - the scannerpublic void removeScanner(Scanner scanner)
scanner - the scannerpublic void setStartLevelService(org.osgi.service.startlevel.StartLevel startLevelService)
startLevelService - a start level service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||