Class SimulationStrategyRegistry<A extends org.palladiosimulator.pcm.core.entity.Entity,​E extends EventSimEntity>


  • public class SimulationStrategyRegistry<A extends org.palladiosimulator.pcm.core.entity.Entity,​E extends EventSimEntity>
    extends Object
    • Constructor Detail

      • SimulationStrategyRegistry

        @Inject
        public SimulationStrategyRegistry​(com.google.inject.Injector injector,
                                          SimulationModuleRegistry moduleRegistry)
    • Method Detail

      • registerActionHandler

        public void registerActionHandler​(Class<?> actionClass,
                                          SimulationStrategy<A,​E> handler)
        Adds a handler for the specified action class. If a handler for the specified action class already exists, the existing handler will be decorated by the specified handler.
        Parameters:
        actionClass - the action class
        handler - the handler that is to be registered
      • unregisterActionHandler

        public void unregisterActionHandler​(Class<? extends org.palladiosimulator.pcm.seff.AbstractAction> actionClass)
        Removes the handler for the specified action class.
        Parameters:
        actionClass - the action class whose handler is to be unregistered