|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlatformBuilder
Callback methods for platform specific actions.
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)
Returns a comma separated list of profiles if required by platform or null if no profile is required. |
java.lang.String[] |
getVMOptions(PlatformContext context)
Returns an array of virtual machine options specific to platform as -D. |
void |
prepare(PlatformContext context)
Prepares platform for running. |
Method Detail |
---|
void prepare(PlatformContext context) throws PlatformException
context
- context information
PlatformException
- if something goes wrong durring building the platformjava.lang.String getMainClassName()
java.lang.String[] getArguments(PlatformContext context)
context
- context information
java.lang.String[] getVMOptions(PlatformContext context)
context
- context information
java.io.InputStream getDefinition(Configuration configuration) throws java.io.IOException
configuration
-
java.io.IOException
- if the input stream could not be opened.java.lang.String getRequiredProfile(PlatformContext context)
context
- context information
java.lang.String getProviderName()
java.lang.String getProviderVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |