Brooklyn

brooklyn.entity.webapp.jetty
[Java] Class Jetty6SshDriver

java.lang.Object
  brooklyn.entity.basic.AbstractSoftwareProcessDriver
      brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
          brooklyn.entity.java.JavaSoftwareProcessSshDriver
              brooklyn.entity.webapp.JavaWebAppSshDriver
                  brooklyn.entity.webapp.jetty.Jetty6SshDriver
All Implemented Interfaces:
Jetty6Driver

public class Jetty6SshDriver
extends JavaWebAppSshDriver

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, IGNORE_ENTITY_SSH_FLAGS, INSTALLING, KILLING, LAUNCHING, NO_VERSION_INFO, PID_FILENAME, RESTARTING, STOPPING, USE_PID_FILE, log, logSsh
 
Fields inherited from class AbstractSoftwareProcessDriver
entity, location, resource
 
Constructor Summary
Jetty6SshDriver(Jetty6ServerImpl entity, SshMachineLocation machine)

 
Method Summary
void customize()

protected java.util.List getCustomJavaConfigOptions()

protected java.lang.String getDeploySubdir()

protected java.lang.String getLogFileLocation()

java.util.Map getShellEnvironment()

void install()

boolean isRunning()

void kill()

void kill1()

void kill9()

void launch()

void stop()

 
Methods inherited from class JavaWebAppSshDriver
deploy, deploy, deploy, getDeployDir, getDeploySubdir, getEnabledProtocols, getEntity, getFilenameContextMapper, getHttpPort, getHttpsPort, getHttpsSslConfig, getSslKeyAlias, getSslKeystorePassword, getSslKeystoreUrl, inferRootUrl, isProtocolEnabled, postLaunch, undeploy
 
Methods inherited from class JavaSoftwareProcessSshDriver
checkJavaHostnameBug, getCustomJavaConfigOptions, getCustomJavaSystemProperties, getJavaOpts, getJavaSystemProperties, getJmxContext, getJmxJavaConfigOptions, getJmxJavaSystemProperties, getJmxPort, getLogFileLocation, getRmiPort, getRmiRegistryPort, getRmiServerPort, getShellEnvironment, installJava, installJmxSupport, isJmxEnabled, isJmxSslEnabled, start
 
Methods inherited from class AbstractSoftwareProcessSshDriver
copyFile, copyFile, copyFile, copyResource, copyResource, copyResource, copyResources, copyTemplate, copyTemplate, copyTemplate, copyTemplates, execute, execute, getAddress, getDefaultVersion, getDownloadFileSuffix, getDownloadFilename, getEntityVersionLabel, getEntityVersionLabel, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getSshFlags, getVersion, newScript, newScript
 
Methods inherited from class AbstractSoftwareProcessDriver
customize, doFullStartOnRestart, getEntity, getLocation, getResource, getResourceAsString, install, kill, launch, postLaunch, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, start, stop, waitForConfigKey
 

Constructor Detail

Jetty6SshDriver

public Jetty6SshDriver(Jetty6ServerImpl entity, SshMachineLocation machine)


 
Method Detail

customize

newScript(CUSTOMIZING).
public void customize()


getCustomJavaConfigOptions

}
protected java.util.List getCustomJavaConfigOptions()


getDeploySubdir

protected java.lang.String getDeploySubdir()


getLogFileLocation

protected java.lang.String getLogFileLocation()


getShellEnvironment

public java.util.Map getShellEnvironment()


install

DownloadResolver resolver = entity.getManagementContext().getEntityDownloadsManager().newDownloader(this);
public void install()


isRunning

Map flags = MutableMap.of("usePidFile", false);
public boolean isRunning()


kill

options.addAll(super.getCustomJavaConfigOptions());
public void kill()


kill1

public void kill1()


kill9

public void kill9()


launch

newScript(flags, LAUNCHING).
public void launch()


stop

public void stop()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.