|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.runner.platform.internal.PlatformImpl
public class PlatformImpl
Handles the workflow of creating the platform. Concrete platforms should implement only the PlatformBuilder interface. TODO Add unit tests
Constructor Summary | |
---|---|
PlatformImpl(PlatformBuilder platformBuilder)
Creates a new platform. |
Method Summary | |
---|---|
void |
setResolver(org.ops4j.util.property.PropertyResolver propertyResolver)
Sets the propertyResolver to use. |
void |
start(java.util.List<SystemFileReference> systemFiles,
java.util.List<BundleReference> bundles,
java.util.Properties properties,
java.util.Dictionary config,
JavaRunner javaRunner)
Starts the platform using an external Java runner service, which may not wait for it to exit. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PlatformImpl(PlatformBuilder platformBuilder)
platformBuilder
- concrete platform builder; mandatoryMethod Detail |
---|
public void setResolver(org.ops4j.util.property.PropertyResolver propertyResolver)
propertyResolver
- a propertyResolverpublic void start(java.util.List<SystemFileReference> systemFiles, java.util.List<BundleReference> bundles, java.util.Properties properties, java.util.Dictionary config, JavaRunner javaRunner) throws PlatformException
Platform
start
in interface Platform
systemFiles
- a list of system files to be available in the classpath; optionalbundles
- a list of bundles to be included in the target platform; optionalproperties
- platform properties to be available in the started platform; optionalconfig
- service configuration propertiesjavaRunner
- an external service to run Java programs
PlatformException
- if something goes wrongPlatform.start(java.util.List,java.util.List,java.util.Properties,Dictionary,JavaRunner)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |