Class StandaloneConfiguration
- java.lang.Object
-
- ch.sahits.game.openpatrician.display.StandaloneConfiguration
-
@Configuration @Import({ch.sahits.game.openpatrician.clientserverinterface.ClientServerInterfaceStandaloneConfiguration.class,ch.sahits.game.openpatrician.server.ServerConfiguration.class,UICommonConfiguration.class}) @ComponentScan(basePackageClasses={IOpenPatricianDisplayEventHandlerComponents.class,ch.sahits.game.openpatrician.event.handler.IOpenPatricianGameEventHandlerComponents.class}) public class StandaloneConfiguration extends java.lang.ObjectThis is the default Spring configuration that is used when the application is neither started in server nor client mode.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Nov 29, 2014
-
-
Constructor Summary
Constructors Constructor Description StandaloneConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CheatKeyEventListenercheatModeKeyListener()static ch.sahits.game.openpatrician.utilities.spring.DialogScopedialogScope()MainMenumainMenu()OpenPatricianNoticeBoardnoticeBoard()ch.sahits.game.openpatrician.clientserverinterface.service.IPathConverterpathConverter()ch.sahits.game.openpatrician.clientserverinterface.event.IEventPropagatorstandaloneMessagePropagator()SubMenusubMenu()ViewStatusviewStatus()
-
-
-
Method Detail
-
dialogScope
@Bean public static ch.sahits.game.openpatrician.utilities.spring.DialogScope dialogScope()
-
mainMenu
@Bean @Lazy public MainMenu mainMenu()
-
subMenu
@Bean @Lazy public SubMenu subMenu()
-
noticeBoard
@Bean @Lazy public OpenPatricianNoticeBoard noticeBoard()
-
viewStatus
@Bean @Lazy public ViewStatus viewStatus()
-
standaloneMessagePropagator
@Bean public ch.sahits.game.openpatrician.clientserverinterface.event.IEventPropagator standaloneMessagePropagator()
-
pathConverter
@Bean @Lazy public ch.sahits.game.openpatrician.clientserverinterface.service.IPathConverter pathConverter()
-
cheatModeKeyListener
@Bean @Lazy public CheatKeyEventListener cheatModeKeyListener()
-
-