public abstract class JavaWebAppSshDriver extends JavaSoftwareProcessSshDriver implements JavaWebAppDriver
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 |
---|
JavaWebAppSshDriver(JavaWebAppSoftwareProcessImpl entity,
SshMachineLocation machine) |
Modifier and Type | Method and Description |
---|---|
void |
deploy(java.io.File file) |
void |
deploy(java.io.File f,
java.lang.String targetName) |
java.lang.String |
deploy(java.lang.String url,
java.lang.String targetName)
Deploys a URL as a webapp at the appserver.
|
java.util.Set<java.lang.String> |
getEnabledProtocols() |
JavaWebAppSoftwareProcessImpl |
getEntity()
The entity whose components we are controlling.
|
FilenameToWebContextMapper |
getFilenameContextMapper() |
java.lang.Integer |
getHttpPort() |
java.lang.Integer |
getHttpsPort() |
HttpsSslConfig |
getHttpsSslConfig() |
void |
postLaunch()
Implement this method in child classes to add some post-launch behavior
|
void |
undeploy(java.lang.String targetName) |
checkJavaHostnameBug, copyRuntimeResources, getJavaOpts, getJmxContext, getJmxPort, getRmiRegistryPort, getShellEnvironment, installJava, installJmxSupport, isJmxEnabled, isJmxSslEnabled, setup
checkNoHostnameBug, copyInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getExpandedInstallDir, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getSubnetAddress, getSubnetHostname, runPostInstallCommand, runPostLaunchCommand, runPreInstallCommand, runPreLaunchCommand, setExpandedInstallDir
copyPreInstallResources, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyTemplate, copyTemplate, copyTemplate, customize, getResource, getResourceAsString, getVersion, install, kill, launch, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, start, stop
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isJmxEnabled
isRunning, kill, rebind, restart, start, stop
getLocation
public JavaWebAppSshDriver(JavaWebAppSoftwareProcessImpl entity, SshMachineLocation machine)
public JavaWebAppSoftwareProcessImpl getEntity()
SoftwareProcessDriver
getEntity
in interface SoftwareProcessDriver
getEntity
in interface EntityDriver
getEntity
in class AbstractSoftwareProcessDriver
public java.util.Set<java.lang.String> getEnabledProtocols()
getEnabledProtocols
in interface JavaWebAppDriver
public java.lang.Integer getHttpPort()
getHttpPort
in interface JavaWebAppDriver
public java.lang.Integer getHttpsPort()
getHttpsPort
in interface JavaWebAppDriver
public HttpsSslConfig getHttpsSslConfig()
getHttpsSslConfig
in interface JavaWebAppDriver
public void postLaunch()
AbstractSoftwareProcessDriver
postLaunch
in class AbstractSoftwareProcessDriver
public void deploy(java.io.File file)
deploy
in interface JavaWebAppDriver
public void deploy(java.io.File f, java.lang.String targetName)
deploy
in interface JavaWebAppDriver
public java.lang.String deploy(java.lang.String url, java.lang.String targetName)
deploy
in interface JavaWebAppDriver
for details of how input filenames are handled
public void undeploy(java.lang.String targetName)
undeploy
in interface JavaWebAppDriver
public FilenameToWebContextMapper getFilenameContextMapper()
getFilenameContextMapper
in interface JavaWebAppDriver