|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.entity.basic.AbstractSoftwareProcessDriver
brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
brooklyn.entity.java.JavaSoftwareProcessSshDriver
brooklyn.entity.webapp.JavaWebAppSshDriver
public abstract class JavaWebAppSshDriver extends JavaSoftwareProcessSshDriver
Field Summary |
---|
Fields inherited from class JavaSoftwareProcessSshDriver | |
---|---|
KEY_VAL_OPT_PREFIXES, MUTUALLY_EXCLUSIVE_OPTS, log |
Fields inherited from class AbstractSoftwareProcessSshDriver | |
---|---|
BROOKLYN_HOME_DIR, CHECK_RUNNING, CUSTOMIZING, DEFAULT_INSTALL_BASEDIR, DEFAULT_RUN_BASEDIR, INSTALLING, KILLING, LAUNCHING, NO_VERSION_INFO, PID_FILENAME, RESTARTING, STOPPING, log, logSsh |
Fields inherited from class AbstractSoftwareProcessDriver | |
---|---|
entity |
Constructor Summary | |
JavaWebAppSshDriver(JavaWebAppSoftwareProcess entity, SshMachineLocation machine)
|
Method Summary | |
---|---|
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; returns a token which can be used as an argument to undeploy, typically the web context with leading slash where the app can be reached (just "/" for ROOT) |
protected java.lang.String
|
getDeployDir()
|
protected java.lang.String
|
getDeploySubdir()
if files should be placed on the server for deployment, override this to be the sub-directory of the runDir where they should be stored (or override getDeployDir() if they should be copied somewhere else, and set this null); if files are not copied to the server, but injected (e.g. |
java.util.List
|
getEnabledProtocols()
|
JavaWebAppSoftwareProcess
|
getEntity()
|
protected FilenameToWebContextMapper
|
getFilenameContextMapper()
|
java.lang.Integer
|
getHttpPort()
|
java.lang.Integer
|
getHttpsPort()
|
protected java.lang.String
|
inferRootUrl()
|
protected boolean
|
isProtocolEnabled(java.lang.String protocol)
|
void
|
postLaunch()
|
void
|
undeploy(java.lang.String targetName)
|
Methods inherited from class AbstractSoftwareProcessSshDriver | |
---|---|
copyFile, copyFile, execute, execute, getDefaultVersion, getEntityVersionLabel, getEntityVersionLabel, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getVersion, newScript, newScript |
Methods inherited from class AbstractSoftwareProcessDriver | |
---|---|
customize, getEntity, getLocation, getResource, install, kill, launch, postLaunch, restart, start, stop, waitForConfigKey |
Constructor Detail |
---|
public JavaWebAppSshDriver(JavaWebAppSoftwareProcess entity, SshMachineLocation machine)
Method Detail |
---|
@Override public void deploy(java.io.File file)
@Override public void deploy(java.io.File f, java.lang.String targetName)
@Override public java.lang.String deploy(java.lang.String url, java.lang.String targetName)
see JavaWebAppSoftwareProcess#deploy(String, String)#deploy(String, String) for details of how input filenames are handled
protected java.lang.String getDeployDir()
protected java.lang.String getDeploySubdir()
@Override public java.util.List getEnabledProtocols()
public JavaWebAppSoftwareProcess getEntity()
protected FilenameToWebContextMapper getFilenameContextMapper()
@Override public java.lang.Integer getHttpPort()
@Override public java.lang.Integer getHttpsPort()
protected java.lang.String inferRootUrl()
protected boolean isProtocolEnabled(java.lang.String protocol)
@Override public void postLaunch()
public void undeploy(java.lang.String targetName)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.