org.ops4j.pax.runner.platform
Interface Platform

All Known Implementing Classes:
PlatformImpl

public interface Platform

Platform service exposes a service that could start an osgi implementation.

Since:
August 20, 2007
Author:
Alin Dreghiciu, Stuart McCulloch

Method Summary
 void start(java.util.List<SystemFileReference> systemFiles, java.util.List<BundleReference> bundles, java.util.Properties platformProperties, java.util.Dictionary config, JavaRunner runner)
          Starts the platform using an external Java runner service, which may not wait for it to exit.
 

Method Detail

start

void start(java.util.List<SystemFileReference> systemFiles,
           java.util.List<BundleReference> bundles,
           java.util.Properties platformProperties,
           java.util.Dictionary config,
           JavaRunner runner)
           throws PlatformException
Starts the platform using an external Java runner service, which may not wait for it to exit.

Parameters:
systemFiles - a list of system files to be available in the classpath; optional
bundles - a list of bundles to be included in the target platform; optional
platformProperties - platform properties to be available in the started platform; optional
config - service configuration properties
runner - an external service to run Java programs
Throws:
PlatformException - if something goes wrong


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.