Class SimuLizarRuntimeState


  • @Deprecated
    public class SimuLizarRuntimeState
    extends Object
    Deprecated.
    This class provides access to all simulation and SimuLizar related objects. This includes access to the original SimuComModel (containing the simulated resources, simulated processes, etc.), to SimuLizars central simulator event distribution object, and to simulated component instances (e.g. to access their current state of passive resources, etc.). Per simulation run, there should be exactly one instance of this class and all of its managed information objects. NOTE: In an effort to improve testability, the number of class inter-dependencies need to be reduced. Therefore, please refrain from referencing the RuntimeState to access dependencies. Use dependency injection to retrieve the desired service / simulation entity directly.
    • Field Detail

      • model

        protected final de.uka.ipd.sdq.simucomframework.model.SimuComModel model
        Deprecated.
    • Method Detail

      • getModel

        public de.uka.ipd.sdq.simucomframework.model.SimuComModel getModel()
        Deprecated.
        Use dependency injection to retrieve the SimuComModel instance.
        Returns:
        the SimuCom model
      • getEventNotificationHelper

        public EventDispatcher getEventNotificationHelper()
        Deprecated.
        Use dependency injection to retrieve the EventNotificationHelper instance.
        Returns:
        the event notification helper
      • getComponentInstanceRegistry

        public final ComponentInstanceRegistry getComponentInstanceRegistry()
        Deprecated.
        Use dependency injection to retrieve the ComponentInstanceRegistry instance.
        Returns:
        the component instance registry
      • getUsageModels

        @Deprecated
        public SimulatedUsageModels getUsageModels()
        Deprecated.
        Use dependency injection to retrieve the SimulatedUsageModels instance.
        Returns:
        the simulated usage model singleton
      • getPCMPartitionManager

        @Deprecated
        public PCMPartitionManager getPCMPartitionManager()
        Deprecated.
        Use dependency injection to retrieve the PCMPartitionManager instance.
        Returns:
        the PCM partition manager
      • getReconfigurator

        @Deprecated
        public Reconfigurator getReconfigurator()
        Deprecated.
        Use dependency injection to retrieve the Reconfigurator instance.
        Returns the reconfigurator responsible for executing reconfigurations and notifying listeners of changes.
        Returns:
        The reconfigurator.
      • getUsageEvolverFacade

        @Deprecated
        public UsageEvolverFacade getUsageEvolverFacade()
        Deprecated.
        Use dependency injection to retrieve the UsageEvolverFacade instance.
        Returns:
        the Usage Evolver Facade