com.parabon.client
Class SimulatorBootstrap

java.lang.Object
  extended by com.parabon.client.SimulatorBootstrap

public class SimulatorBootstrap
extends java.lang.Object

The SimulatorSessionManager is a substitute for a RemoteSessionManager to facilitate local job execution in an environment meant to simulate remote execution. It will accumulate the tasks and elements for dispatch to local engines. Jobs run under Eclipse should call SessionManager.getInstance() to retrieve an instance that will point either to this instance or a RemoteSessionManager depending on the runtime launch preferences.


Field Summary
static java.lang.String PROP_SIMULATOR_HOMEDIR
           
static java.lang.String SIMULATOR_JAR
           
 
Constructor Summary
SimulatorBootstrap()
           
 
Method Summary
static SessionManager getSessionManager()
          Get simulator home directory
static java.io.File getSimulatorJar()
           
static void initClassLoader()
          Initialize classloader
static java.lang.String simulatorPath()
          Get simulator home directory
static java.lang.String simulatorPath(java.lang.String relativePath)
          Get simulator home directory from properties or classpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_SIMULATOR_HOMEDIR

public static final java.lang.String PROP_SIMULATOR_HOMEDIR
See Also:
Constant Field Values

SIMULATOR_JAR

public static java.lang.String SIMULATOR_JAR
Constructor Detail

SimulatorBootstrap

public SimulatorBootstrap()
Method Detail

getSessionManager

public static SessionManager getSessionManager()
                                        throws java.lang.Exception
Get simulator home directory

Throws:
java.lang.Exception

initClassLoader

public static void initClassLoader()
                            throws java.io.IOException
Initialize classloader

Throws:
java.io.IOException

simulatorPath

public static java.lang.String simulatorPath()
Get simulator home directory


simulatorPath

public static java.lang.String simulatorPath(java.lang.String relativePath)
Get simulator home directory from properties or classpath


getSimulatorJar

public static java.io.File getSimulatorJar()
                                    throws java.io.IOException
Throws:
java.io.IOException