public class Jetty6SshDriver extends JavaWebAppSshDriver implements Jetty6Driver
KEY_VAL_OPT_PREFIXES, log, MUTUALLY_EXCLUSIVE_OPTS
CHECK_RUNNING, CUSTOMIZING, DEBUG, IGNORE_ENTITY_SSH_FLAGS, INSTALL_INCOMPLETE, INSTALLING, KILLING, LAUNCHING, logSsh, NON_STANDARD_LAYOUT, PID_FILENAME, PROCESS_OWNER, RESTARTING, STOPPING, USE_PID_FILE, VALID_FLAGS
Constructor and Description |
---|
Jetty6SshDriver(Jetty6ServerImpl entity,
SshMachineLocation machine) |
Modifier and Type | Method and Description |
---|---|
void |
customize()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
java.util.Map<java.lang.String,java.lang.String> |
getShellEnvironment()
Sets all JVM options (-X..
|
void |
install()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
boolean |
isRunning()
Whether the entity components have started.
|
void |
kill()
Kills the process, ungracefully and immediately where possible (e.g.
|
void |
kill1() |
void |
kill9() |
void |
launch()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
void |
stop()
Performs software stop (or queues tasks to do this)
|
deploy, deploy, deploy, getEnabledProtocols, getEntity, getFilenameContextMapper, getHttpPort, getHttpsPort, getHttpsSslConfig, postLaunch, undeploy
checkJavaHostnameBug, copyRuntimeResources, getJavaOpts, getJmxContext, getJmxPort, getRmiRegistryPort, installJava, installJmxSupport, isJmxEnabled, isJmxSslEnabled, setup
checkNoHostnameBug, copyCustomizeResources, copyInstallResources, copyPreInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getHostname, getLocation, getMachine, getPortsUsed, getSubnetAddress, getSubnetHostname, prepare, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommand
copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyTemplate, copyTemplate, copyTemplate, getArchiveNameFormat, getExpandedInstallDir, getInstallDir, getResource, getResourceAsString, getRunDir, getVersion, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, setExpandedInstallDir, start
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deploy, deploy, deploy, getEnabledProtocols, getFilenameContextMapper, getHttpPort, getHttpsPort, getHttpsSslConfig, undeploy
isJmxEnabled
getEntity, rebind, restart, start
getLocation
public Jetty6SshDriver(Jetty6ServerImpl entity, SshMachineLocation machine)
public void install()
AbstractSoftwareProcessDriver
install
in class AbstractSoftwareProcessDriver
public void customize()
AbstractSoftwareProcessDriver
customize
in class AbstractSoftwareProcessDriver
public void launch()
AbstractSoftwareProcessDriver
launch
in class AbstractSoftwareProcessDriver
public boolean isRunning()
SoftwareProcessDriver
isRunning
in interface SoftwareProcessDriver
public void stop()
SoftwareProcessDriver
stop
in interface SoftwareProcessDriver
stop
in class AbstractSoftwareProcessDriver
Startable.stop()
public void kill1()
public void kill9()
public void kill()
SoftwareProcessDriver
kill
in interface SoftwareProcessDriver
kill
in class AbstractSoftwareProcessDriver
public java.util.Map<java.lang.String,java.lang.String> getShellEnvironment()
JavaSoftwareProcessSshDriver
That variable is constructed from JavaSoftwareProcessSshDriver.getJavaOpts()
, then wrapped _unescaped_ in double quotes. An
error is thrown if there is an unescaped double quote in the string. All other unescaped
characters are permitted, but unless $var expansion or `command` execution is desired (although
this is not confirmed as supported) the generally caller should escape any such characters, for
example using StringEscapes.BashStringEscapes.escapeLiteralForDoubleQuotedBash(String)
.
getShellEnvironment
in class JavaSoftwareProcessSshDriver
SoftwareProcess.SHELL_ENVIRONMENT