org.openware.loadsim.simulation
Class SimulationFactory
java.lang.Object
|
+--org.openware.loadsim.simulation.SimulationFactory
- All Implemented Interfaces:
- ISimulationFactory
- public class SimulationFactory
- extends java.lang.Object
- implements ISimulationFactory
- Author:
- Vincent Sheffer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulationFactory
public SimulationFactory()
getInstance
public static ISimulationFactory getInstance()
create
public static void create(java.lang.String className)
createSimulations
public java.util.LinkedList createSimulations(Config config)
throws java.io.IOException
- Create the
Simulation
object. If the hostname is not null then
the Simulation
object is created on a remote host using the Voyager
ORB. If hostname is null
then the Simulation
object
is just created in the local JVM.
- Specified by:
createSimulations
in interface ISimulationFactory
createResults
public IResults createResults(FileInfo info,
java.lang.String hostname)
throws java.io.IOException
- Create the
Results
object. If the hostname is not null then
the Results
object is created on a remote host using the Voyager
ORB. If hostname is null
then the Results
object
is just created in the local JVM.
- Specified by:
createResults
in interface ISimulationFactory
createLog
public ILog createLog(FileInfo info,
java.lang.String hostname)
throws java.io.IOException
- Create the
Log
object. If the hostname is not null then
the Log
object is created on a remote host using the Voyager
ORB. If hostname is null
then the Log
object
is just created in the local JVM.
- Specified by:
createLog
in interface ISimulationFactory
createCallBack
public ISimulationCompleteCallBack createCallBack(java.lang.String outputHostname,
java.lang.String simHostname)
- Specified by:
createCallBack
in interface ISimulationFactory
Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.