|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.runner.platform.internal.PlatformDefinitionImpl
public class PlatformDefinitionImpl
Implementation of platform definition that that reads definition form an xml.
| Constructor Summary | |
|---|---|
PlatformDefinitionImpl(java.io.InputStream inputStream,
java.lang.Integer startLevel)
Creates a new platform definition by reading an xml from an output stream. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPackages()
Returns a list of comma separated list of packages required by the platform. |
java.util.List<BundleReference> |
getPlatformBundles(java.lang.String profiles)
Returns a list of bundles to be installed as part of the platform. |
java.net.URL |
getSystemPackage()
Returns the system package = a jar containing the main platform classes. |
java.lang.String |
getSystemPackageName()
Returns the "nice" name for system package. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlatformDefinitionImpl(java.io.InputStream inputStream,
java.lang.Integer startLevel)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
inputStream - an xml input streamstartLevel - the start level that platform bundles should be started
java.io.IOException - re-thrown while parsing the input stream as xml
javax.xml.parsers.ParserConfigurationException - re-thrown while parsing the input stream as xml
org.xml.sax.SAXException - re-thrown while parsing the input stream as xml| Method Detail |
|---|
public java.net.URL getSystemPackage()
PlatformDefinition
getSystemPackage in interface PlatformDefinitionPlatformDefinition.getSystemPackage()public java.lang.String getSystemPackageName()
PlatformDefinition
getSystemPackageName in interface PlatformDefinitionPlatformDefinition.getSystemPackageName()public java.lang.String getPackages()
PlatformDefinition
getPackages in interface PlatformDefinitionPlatformDefinition.getPackages()public java.util.List<BundleReference> getPlatformBundles(java.lang.String profiles)
PlatformDefinition
getPlatformBundles in interface PlatformDefinitionprofiles - name of the profile in use
PlatformDefinition.getPlatformBundles(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||