Class SimulationModule
java.lang.Object
com.google.inject.AbstractModule
org.palladiosimulator.analyzer.slingshot.core.SimulationModule
- All Implemented Interfaces:
com.google.inject.Module
public class SimulationModule
extends com.google.inject.AbstractModule
Provides Simulation Run specific instances for simulation driver and engine.
Explicit Bindings are necessary, or else the classes are bound in the parent.
Bound at parent injector is a problem, because the classes should be {link
Singleton
for each Simulation run, not per Simulator instance.
TODO : maybe we can pull some more injection related things from inside the simulation driver to up here.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
SimulationModule
public SimulationModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-