org.ops4j.pax.runner.platform.internal
Interface PlatformDefinition

All Known Implementing Classes:
PlatformDefinitionImpl

public interface PlatformDefinition

Abstracts the platform definition file.

Since:
August 19, 2007
Author:
Alin Dreghiciu

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 profileName)
          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.
 

Method Detail

getSystemPackage

java.net.URL getSystemPackage()
Returns the system package = a jar containing the main platform classes.

Returns:
the system package url

getSystemPackageName

java.lang.String getSystemPackageName()
Returns the "nice" name for system package.

Returns:
name of system package

getPackages

java.lang.String getPackages()
Returns a list of comma separated list of packages required by the platform. The list will be appended to the system packages.

Returns:
a comma separated list of packages

getPlatformBundles

java.util.List<BundleReference> getPlatformBundles(java.lang.String profileName)
Returns a list of bundles to be installed as part of the platform. If profile name is null or empty will return the default profile.

Parameters:
profileName - name of the profile in use
Returns:
a list of bundle urls


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