org.browsecode.helpers.controlcomputer
Class ControlComputerFactory

java.lang.Object
  extended by org.browsecode.helpers.controlcomputer.ControlComputerFactory

public class ControlComputerFactory
extends java.lang.Object


Constructor Summary
ControlComputerFactory()
           
 
Method Summary
static ControlComputerInterface getRunOn(Preferences prefs)
          The Preferences passed in should be a subset with the following values: location [required] ('local' or 'remote-ssh') host-name [optional -- required if using 'remote-ssh' above] (the domain name of the server to connect to) default-userid [optional -- only used if using 'remote-ssh' above] (the default userID to prompt the user with)
static ControlComputerInterface getRunOn(java.lang.String location, java.lang.String hostName, java.lang.String defaultUserId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlComputerFactory

public ControlComputerFactory()
Method Detail

getRunOn

public static ControlComputerInterface getRunOn(Preferences prefs)
The Preferences passed in should be a subset with the following values: location [required] ('local' or 'remote-ssh') host-name [optional -- required if using 'remote-ssh' above] (the domain name of the server to connect to) default-userid [optional -- only used if using 'remote-ssh' above] (the default userID to prompt the user with)


getRunOn

public static ControlComputerInterface getRunOn(java.lang.String location,
                                                java.lang.String hostName,
                                                java.lang.String defaultUserId)