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. |
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; optionalbundles
- a list of bundles to be included in the target platform; optionalplatformProperties
- platform properties to be available in the started platform; optionalconfig
- service configuration propertiesrunner
- 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.