@Configuration
@ComponentScan(value={"ch.sahits.game.openpatrician.engine","ch.sahits.game.openpatrician.javafx.util"})
public class EngineConfiguration
extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOCK_TICK_INTERVALL_MS
Intervall for the clock tick timer
|
private org.springframework.context.ApplicationContext |
context |
| Constructor and Description |
|---|
EngineConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.beans.factory.config.PropertyPlaceholderConfigurer |
applicationServerProperties() |
ClockTickTimer |
clockTickTimer() |
ch.sahits.game.openpatrician.util.MapInitializedBean |
mapInitializedBean() |
ExecutorService |
paralleizationExecutor() |
PeriodicalTimeUpdaterV2 |
periodicalEndOfDayUpdater()
Create a periodical updater for end of day which is a singleton.
|
PeriodicalTimeUpdaterV2 |
periodicalEndOfMonthUpdater()
Create a periodical updater for end of month which is a singleton.
|
PeriodicalTimeUpdaterV2 |
periodicalEndOfWeekUpdater()
Create a periodical updater for end of week which is a singleton.
|
PeriodicalTimeUpdaterV2 |
periodicalEndOfYearUpdater()
Create a periodical updater for end of year which is a singleton.
|
PeriodicalTimeUpdaterV2 |
periodicalWeeklyUpdater()
Create a periodical updater for weekly updates which is a singleton.
|
ScheduledExecutorService |
schedulableServerThreadPool() |
ch.sahits.game.openpatrician.util.StartNewGameBean |
startNewGameBean() |
public static final int CLOCK_TICK_INTERVALL_MS
@Autowired private org.springframework.context.ApplicationContext context
@Bean public static org.springframework.beans.factory.config.PropertyPlaceholderConfigurer applicationServerProperties()
@Bean @Scope(value="prototype") public ch.sahits.game.openpatrician.util.StartNewGameBean startNewGameBean()
@Bean @Scope(value="prototype") public ch.sahits.game.openpatrician.util.MapInitializedBean mapInitializedBean()
@Bean public ClockTickTimer clockTickTimer()
@Bean public ExecutorService paralleizationExecutor()
@Bean public ScheduledExecutorService schedulableServerThreadPool()
@Bean
@Lazy
@DependentInitialisation(value=ch.sahits.game.openpatrician.util.StartNewGameBean.class,
registerWithBeanName=true)
public PeriodicalTimeUpdaterV2 periodicalEndOfDayUpdater()
@Bean
@Lazy
@DependentInitialisation(value=ch.sahits.game.openpatrician.util.StartNewGameBean.class,
registerWithBeanName=true)
public PeriodicalTimeUpdaterV2 periodicalEndOfWeekUpdater()
@Bean
@Lazy
@DependentInitialisation(value=ch.sahits.game.openpatrician.util.StartNewGameBean.class,
registerWithBeanName=true)
public PeriodicalTimeUpdaterV2 periodicalEndOfMonthUpdater()
@Bean
@Lazy
@DependentInitialisation(value=ch.sahits.game.openpatrician.util.StartNewGameBean.class,
registerWithBeanName=true)
public PeriodicalTimeUpdaterV2 periodicalEndOfYearUpdater()
@Bean
@Lazy
@DependentInitialisation(value=ch.sahits.game.openpatrician.util.StartNewGameBean.class,
registerWithBeanName=true)
public PeriodicalTimeUpdaterV2 periodicalWeeklyUpdater()
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.