Brooklyn

brooklyn.entity.osgi.karaf
[Java] Class KarafSshDriver

java.lang.Object
  brooklyn.entity.basic.AbstractSoftwareProcessDriver
      brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
          brooklyn.entity.java.JavaSoftwareProcessSshDriver
              brooklyn.entity.osgi.karaf.KarafSshDriver
All Implemented Interfaces:
KarafDriver

public class KarafSshDriver
extends JavaSoftwareProcessSshDriver

Field Summary
protected java.lang.String expandedInstallDir

 
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
KarafSshDriver(KarafContainerImpl entity, SshMachineLocation machine)

 
Method Summary
void customize()

protected java.util.List getCustomJavaConfigOptions()

KarafContainerImpl getEntity()

protected java.lang.String getExpandedInstallDir()

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

expandedInstallDir

protected java.lang.String expandedInstallDir


 
Constructor Detail

KarafSshDriver

public KarafSshDriver(KarafContainerImpl entity, SshMachineLocation machine)


 
Method Detail

customize

ports.put("jmxPort", getJmxPort());
public void customize()


getCustomJavaConfigOptions

return result;
protected java.util.List getCustomJavaConfigOptions()


getEntity

}
public KarafContainerImpl getEntity()


getExpandedInstallDir

protected java.lang.String getExpandedInstallDir()


getLogFileLocation

}
protected java.lang.String getLogFileLocation()


install

List urls = resolver.getTargets();
public void install()


isRunning

public boolean isRunning()


kill

protected List getCustomJavaConfigOptions() {
public void kill()


launch

flags.put("usePidFile", true);
public void launch()


stop

}
public void stop()


 

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