|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.runner.platform.felix.internal.FelixPlatformBuilderF100T122
public class FelixPlatformBuilderF100T122
Platform builder for felix platform from version 1.0.0 till 1.2.2.
Constructor Summary | |
---|---|
FelixPlatformBuilderF100T122(org.osgi.framework.BundleContext bundleContext,
java.lang.String version)
Create a new felix platform builder. |
Method Summary | |
---|---|
java.lang.String[] |
getArguments(PlatformContext context)
Returns an array of platform specific startup arguments. |
java.io.InputStream |
getDefinition(Configuration configuration)
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)
If the console option is set then it will return the tui profile otherwise will return null. |
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/felix 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 FelixPlatformBuilderF100T122(org.osgi.framework.BundleContext bundleContext, java.lang.String version)
bundleContext
- a bundle contextversion
- supported versionMethod Detail |
---|
public void prepare(PlatformContext context) throws PlatformException
prepare
in interface PlatformBuilder
context
- 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 PlatformBuilder
PlatformBuilder.getMainClassName()
public java.lang.String[] getArguments(PlatformContext context)
PlatformBuilder
getArguments
in interface PlatformBuilder
context
- context information
#getArguments(org.ops4j.pax.runner.platform.PlatformContext)
public java.lang.String[] getVMOptions(PlatformContext context)
PlatformBuilder
getVMOptions
in interface PlatformBuilder
context
- context information
#getVMOptions(org.ops4j.pax.runner.platform.PlatformContext)
public java.io.InputStream getDefinition(Configuration configuration) throws java.io.IOException
getDefinition
in interface PlatformBuilder
java.io.IOException
- if the input stream could not be opened.public java.lang.String getRequiredProfile(PlatformContext context)
getRequiredProfile
in interface PlatformBuilder
context
- context information
#getRequiredProfile(org.ops4j.pax.runner.platform.PlatformContext)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String getProviderName()
PlatformBuilder
getProviderName
in interface PlatformBuilder
PlatformBuilder.getProviderName()
public java.lang.String getProviderVersion()
PlatformBuilder
getProviderVersion
in interface PlatformBuilder
PlatformBuilder.getProviderVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |