Class OpenWorkloadUserFactory

java.lang.Object
de.uka.ipd.sdq.simucomframework.usage.AbstractWorkloadUserFactory
de.uka.ipd.sdq.simucomframework.usage.OpenWorkloadUserFactory
All Implemented Interfaces:
IUserFactory

public abstract class OpenWorkloadUserFactory extends AbstractWorkloadUserFactory implements IUserFactory
A factory for creating open workload users
  • Constructor Details

    • OpenWorkloadUserFactory

      public OpenWorkloadUserFactory(SimuComModel model, String usageScenarioURI, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
    • OpenWorkloadUserFactory

      public OpenWorkloadUserFactory(SimuComModel model, org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
  • Method Details

    • createUser

      public IUser createUser()
      Description copied from interface: IUserFactory
      Instruct this factory to spit out a new user
      Specified by:
      createUser in interface IUserFactory
      Returns:
      The newly born user
    • createScenarioRunner

      public abstract IScenarioRunner createScenarioRunner()
      Template method filled in by the generator. Returns an object representing the user behaviour needed for the new users.
      Returns:
      The behaviour of the users created by this factory