Brooklyn

brooklyn.entity.database.rubyrep
[Java] Class RubyRepSshDriver

java.lang.Object
  brooklyn.entity.basic.AbstractSoftwareProcessDriver
      brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
          brooklyn.entity.java.JavaSoftwareProcessSshDriver
              brooklyn.entity.database.rubyrep.RubyRepSshDriver
All Implemented Interfaces:
RubyRepDriver

public class RubyRepSshDriver
extends JavaSoftwareProcessSshDriver

Field Summary
static Logger log

 
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
RubyRepSshDriver(EntityLocal entity, SshMachineLocation machine)

 
Method Summary
void customize()

protected void customizeConfiguration()

protected java.lang.String getLogFileLocation()

void install()

boolean isRunning()

void kill()

void launch()

void stop()

 
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
 

Field Detail

log

public static final Logger log


 
Constructor Detail

RubyRepSshDriver

public RubyRepSshDriver(EntityLocal entity, SshMachineLocation machine)


 
Method Detail

customize

public void customize() {
public void customize()


customizeConfiguration

protected void customizeConfiguration()


getLogFileLocation

@Override
protected java.lang.String getLogFileLocation()


install

@Override
public void install()


isRunning

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


kill

Map flags = MutableMap.of("usePidFile", true);
public void kill()


launch

newScript(MutableMap.of("usePidFile", true), LAUNCHING)
public void launch()


stop

Map flags = MutableMap.of("usePidFile", true);
public void stop()


 

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