Brooklyn

brooklyn.location.basic
[Java] Class LocalhostMachineProvisioningLocation.LocalhostMachine

java.lang.Object
  brooklyn.location.basic.AbstractLocation
      brooklyn.location.basic.SshMachineLocation
          brooklyn.location.basic.LocalhostMachineProvisioningLocation.LocalhostMachine

public static class LocalhostMachineProvisioningLocation.LocalhostMachine
extends SshMachineLocation

Field Summary
 
Fields inherited from class SshMachineLocation
ALLOCATE_PTY, ALL_SSH_CONFIG_KEYS, ALL_SSH_CONFIG_KEY_NAMES, LOCAL_TEMP_DIR, LOG, LOG_PREFIX, NO_STDERR_LOGGING, NO_STDOUT_LOGGING, PASSWORD, PRIVATE_KEY_DATA, PRIVATE_KEY_FILE, PRIVATE_KEY_PASSPHRASE, REUSABLE_SSH_PROPS, SCP_EXECUTABLE, SCRIPT_DIR, SSHCONFIG_PREFIX, SSH_ENV_MAP, SSH_EXECUTABLE, SSH_HOST, SSH_PORT, STDERR, STDOUT, logSsh, previouslyConnected
 
Fields inherited from class AbstractLocation
LOG, PARENT_LOCATION, hostGeoInfo, name
 
Constructor Summary
LocalhostMachineProvisioningLocation.LocalhostMachine()

LocalhostMachineProvisioningLocation.LocalhostMachine(java.util.Map properties)

 
Method Summary
OsDetails getOsDetails()

int obtainPort(PortRange range)

boolean obtainSpecificPort(int portNumber)

void releasePort(int portNumber)

 
Methods inherited from class SshMachineLocation
acquireMutex, addConfig, close, configure, connectSsh, connectSsh, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, exec, exec, exec, exec, execCommands, execCommands, execCommands, execCommands, execScript, execScript, execScript, execScript, execSsh, execWithLogging, execWithLogging, finalize, getAddress, getOsDetails, getUser, hasMutex, installTo, isSshable, newMutexSupport, obtainPort, obtainSpecificPort, releaseMutex, releasePort, run, run, run, run, run, run, run, run, toString, tryAcquireMutex
 
Methods inherited from class AbstractLocation
addChildLocation, configure, configure, containsLocation, equals, findLocationProperty, getAllConfig, getChildLocations, getConfig, getConfigBag, getHostGeoInfo, getId, getLocationProperty, getName, getParentLocation, getRebindSupport, hasConfig, hasLocationProperty, hashCode, removeChildLocation, setConfig, setHostGeoInfo, setName, setParentLocation, string, toString
 

Constructor Detail

LocalhostMachineProvisioningLocation.LocalhostMachine

public LocalhostMachineProvisioningLocation.LocalhostMachine()


LocalhostMachineProvisioningLocation.LocalhostMachine

public LocalhostMachineProvisioningLocation.LocalhostMachine(java.util.Map properties)


 
Method Detail

getOsDetails

@Override
public OsDetails getOsDetails()


obtainPort

public int obtainPort(PortRange range)


obtainSpecificPort

public boolean obtainSpecificPort(int portNumber)


releasePort

public void releasePort(int portNumber)


 

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