Class ServerConfiguration
- java.lang.Object
-
- ch.sahits.game.openpatrician.server.ServerConfiguration
-
@Configuration @Import(EngineConfiguration.class) @ComponentScan(basePackageClasses={ServerConfiguration.class,IOpenPatricianModelServerComponents.class}) public class ServerConfiguration extends java.lang.Object
Spring configuration for the server module.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Feb 02, 2014
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.Executor
serverThreadPool
private SubscriptionLoggingExceptionHandler
subscriptionExceptionHandler
-
Constructor Summary
Constructors Constructor Description ServerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PopulationConsume
citizensConsumtion()
com.google.common.eventbus.AsyncEventBus
serverEventBus()
-
-
-
Field Detail
-
serverThreadPool
@Autowired @Qualifier("serverThreadPool") private java.util.concurrent.Executor serverThreadPool
-
subscriptionExceptionHandler
@Autowired private SubscriptionLoggingExceptionHandler subscriptionExceptionHandler
-
-
Method Detail
-
citizensConsumtion
@Bean public PopulationConsume citizensConsumtion()
-
serverEventBus
@Bean public com.google.common.eventbus.AsyncEventBus serverEventBus()
-
-