A - the type of the Applications the ApplicationLauncher will launch
Copyright (c) 2014. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
@Internal public abstract class AbstractRemoteApplicationLauncher<A extends Application> extends Object implements ApplicationLauncher<A>, RemoteTerminal.Launchable
ApplicationLauncher.| Constructor and Description |
|---|
AbstractRemoteApplicationLauncher()
Constructs an
AbstractRemoteApplicationLauncher. |
| Modifier and Type | Method and Description |
|---|---|
protected <P extends ApplicationProcess> |
adapt(RemoteApplicationProcess process)
Adapt the
RemoteApplicationProcess as something specific for the Application being built. |
List<String> |
getCommandLineArguments(Platform platform,
com.oracle.bedrock.OptionsByType optionsByType)
Obtains the command line arguments when launching an
Application using a RemoteTerminal. |
String |
getCommandToExecute(Platform platform,
com.oracle.bedrock.OptionsByType optionsByType)
Obtains the command to launch an
Application using a RemoteTerminal. |
Properties |
getEnvironmentVariables(Platform platform,
com.oracle.bedrock.OptionsByType optionsByType)
Obtains the environment variables to use when launching an
Application using a RemoteTerminal. |
A |
launch(Platform platform,
MetaClass<A> metaClass,
com.oracle.bedrock.OptionsByType optionsByType) |
protected abstract void |
onLaunched(A application,
com.oracle.bedrock.OptionsByType optionsByType)
Prepares the
Application after it was launched for use. |
protected abstract void |
onLaunching(com.oracle.bedrock.OptionsByType optionsByType)
Prepares the launch
OptionsByType prior to being used to launch an Application. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayNamepublic AbstractRemoteApplicationLauncher()
AbstractRemoteApplicationLauncher.public A launch(Platform platform, MetaClass<A> metaClass, com.oracle.bedrock.OptionsByType optionsByType)
launch in interface ApplicationLauncher<A extends Application>protected abstract void onLaunching(com.oracle.bedrock.OptionsByType optionsByType)
OptionsByType prior to being used to launch an Application.optionsByType - the launch OptionsByTypeprotected abstract void onLaunched(A application, com.oracle.bedrock.OptionsByType optionsByType)
Application after it was launched for use.application - the launched ApplicationoptionsByType - the launch OptionsByTypeprotected <P extends ApplicationProcess> P adapt(RemoteApplicationProcess process)
RemoteApplicationProcess as something specific for the Application being built.P - the desired type of the ApplicationProcessprocess - the RemoteApplicationProcessApplicationProcesspublic String getCommandToExecute(Platform platform, com.oracle.bedrock.OptionsByType optionsByType)
RemoteTerminal.LaunchableApplication using a RemoteTerminal.getCommandToExecute in interface RemoteTerminal.Launchableplatform - the PlatformoptionsByType - the OptionsByTypepublic List<String> getCommandLineArguments(Platform platform, com.oracle.bedrock.OptionsByType optionsByType)
RemoteTerminal.LaunchableApplication using a RemoteTerminal.getCommandLineArguments in interface RemoteTerminal.Launchableplatform - the PlatformoptionsByType - the OptionsByTypeApplicationpublic Properties getEnvironmentVariables(Platform platform, com.oracle.bedrock.OptionsByType optionsByType)
RemoteTerminal.LaunchableApplication using a RemoteTerminal.getEnvironmentVariables in interface RemoteTerminal.Launchableplatform - the PlatformoptionsByType - the OptionsByTypeProperties representing the required remote environment variablesCopyright © 2017. All rights reserved.