|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.runner.platform.equinox.internal.EquinoxPlatformBuilder
public class EquinoxPlatformBuilder
Platform builder for equinox platform.
| Constructor Summary | |
|---|---|
EquinoxPlatformBuilder(org.osgi.framework.BundleContext bundleContext,
java.lang.String version)
Create a new equinux platform builder. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getArguments(PlatformContext context)
Returns an array of platform specific startup arguments. |
java.io.InputStream |
getDefinition()
Retuns an input stream out of the definition file to be used. |
java.lang.String |
getMainClassName()
Returns the name of the main class of the platform, class that will be used to fire up the platform. |
java.lang.String |
getProviderName()
Returns the name of the provider (e.g. |
java.lang.String |
getProviderVersion()
Returns the version of the provider (e.g. |
java.lang.String |
getRequiredProfile(PlatformContext context)
Return null as there is no profile required by equinox. |
java.lang.String[] |
getVMOptions(PlatformContext context)
Returns an array of virtual machine options specific to platform as -D. |
void |
prepare(PlatformContext context)
Creates a config.ini file under the working directory/equinox directory. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EquinoxPlatformBuilder(org.osgi.framework.BundleContext bundleContext,
java.lang.String version)
bundleContext - a bundle contextversion - supported version| Method Detail |
|---|
public void prepare(PlatformContext context)
throws PlatformException
prepare in interface PlatformBuildercontext - context information
PlatformException - if something goes wrong durring building the platform#prepare(org.ops4j.pax.runner.platform.PlatformContext)public java.lang.String getMainClassName()
PlatformBuilder
getMainClassName in interface PlatformBuilderPlatformBuilder.getMainClassName()public java.lang.String[] getArguments(PlatformContext context)
PlatformBuilder
getArguments in interface PlatformBuildercontext - context information
#getArguments(org.ops4j.pax.runner.platform.PlatformContext)public java.lang.String[] getVMOptions(PlatformContext context)
PlatformBuilder
getVMOptions in interface PlatformBuildercontext - context information
#getVMOptions(org.ops4j.pax.runner.platform.PlatformContext)
public java.io.InputStream getDefinition()
throws java.io.IOException
PlatformBuilder
getDefinition in interface PlatformBuilderjava.io.IOException - if the input stream could not be opened.PlatformBuilder.getDefinition()public java.lang.String getRequiredProfile(PlatformContext context)
getRequiredProfile in interface PlatformBuildercontext - context information
#getRequiredProfile(org.ops4j.pax.runner.platform.PlatformContext)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getProviderName()
PlatformBuilder
getProviderName in interface PlatformBuilderPlatformBuilder.getProviderName()public java.lang.String getProviderVersion()
PlatformBuilder
getProviderVersion in interface PlatformBuilderPlatformBuilder.getProviderVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||