public abstract class JavaWebAppSshDriver extends JavaSoftwareProcessSshDriver implements JavaWebAppDriver
KEY_VAL_OPT_PREFIXES, log, MUTUALLY_EXCLUSIVE_OPTSCHECK_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, setupcheckNoHostnameBug, copyInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getExpandedInstallDir, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getSubnetAddress, getSubnetHostname, runPostInstallCommand, runPostLaunchCommand, runPreInstallCommand, runPreLaunchCommand, setExpandedInstallDircopyPreInstallResources, 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, stopequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisJmxEnabledisRunning, kill, rebind, restart, start, stopgetLocationpublic JavaWebAppSshDriver(JavaWebAppSoftwareProcessImpl entity, SshMachineLocation machine)
public JavaWebAppSoftwareProcessImpl getEntity()
SoftwareProcessDrivergetEntity in interface EntityDrivergetEntity in interface SoftwareProcessDrivergetEntity in class AbstractSoftwareProcessDriverpublic java.util.Set<java.lang.String> getEnabledProtocols()
getEnabledProtocols in interface JavaWebAppDriverpublic java.lang.Integer getHttpPort()
getHttpPort in interface JavaWebAppDriverpublic java.lang.Integer getHttpsPort()
getHttpsPort in interface JavaWebAppDriverpublic HttpsSslConfig getHttpsSslConfig()
getHttpsSslConfig in interface JavaWebAppDriverpublic void postLaunch()
AbstractSoftwareProcessDriverpostLaunch in class AbstractSoftwareProcessDriverpublic void deploy(java.io.File file)
deploy in interface JavaWebAppDriverpublic void deploy(java.io.File f,
java.lang.String targetName)
deploy in interface JavaWebAppDriverpublic java.lang.String deploy(java.lang.String url,
java.lang.String targetName)
deploy in interface JavaWebAppDriverfor details of how input filenames are handledpublic void undeploy(java.lang.String targetName)
undeploy in interface JavaWebAppDriverpublic FilenameToWebContextMapper getFilenameContextMapper()
getFilenameContextMapper in interface JavaWebAppDriver