org.openware.loadsim.simulation
Class JDFSimulationFactory

java.lang.Object
  |
  +--org.openware.loadsim.simulation.JDFSimulationFactory
All Implemented Interfaces:
ISimulationFactory

public class JDFSimulationFactory
extends java.lang.Object
implements ISimulationFactory


Constructor Summary
JDFSimulationFactory()
           
 
Method Summary
 ISimulationCompleteCallBack createCallBack(java.lang.String outputHostname, java.lang.String simHostname)
          Create the callback object for the simulation.
 ILog createLog(FileInfo fileinfo, java.lang.String hostname)
          Create the Log object.
 IResults createResults(FileInfo fileinfo, java.lang.String hostname)
          Create the Results object.
 java.util.LinkedList createSimulations(Config config)
          Create the Simulation object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDFSimulationFactory

public JDFSimulationFactory()
Method Detail

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 JDF 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 fileinfo,
                              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 fileinfo,
                      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)
Create the callback object for the simulation.
Specified by:
createCallBack in interface ISimulationFactory
Parameters:
hostname - The name of the host to create the callback on. This should be null if we are running in local mode.


Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.