Class EngineConfiguration
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.EngineConfiguration
-
@Configuration @ComponentScan public class EngineConfiguration extends java.lang.Object
Spring configuration for the engine module.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Feb 02, 2014
-
-
Constructor Summary
Constructors Constructor Description EngineConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClockTickTimer
clockTickTimer()
MapInitializedBean
mapInitializedBean()
java.util.concurrent.ExecutorService
paralleizationExecutor()
java.util.concurrent.ScheduledExecutorService
schedulableServerThreadPool()
java.util.concurrent.ScheduledExecutorService
serverTimer()
StartNewGameBean
startNewGameBean()
-
-
-
Method Detail
-
startNewGameBean
@Bean @Scope("prototype") public StartNewGameBean startNewGameBean()
-
mapInitializedBean
@Bean @Scope("prototype") public MapInitializedBean mapInitializedBean()
-
clockTickTimer
@Bean public ClockTickTimer clockTickTimer()
-
paralleizationExecutor
@Bean public java.util.concurrent.ExecutorService paralleizationExecutor()
-
schedulableServerThreadPool
@Bean public java.util.concurrent.ScheduledExecutorService schedulableServerThreadPool()
-
serverTimer
@Bean public java.util.concurrent.ScheduledExecutorService serverTimer()
-
-