Class ModelConfiguration
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.ModelConfiguration
-
@Configuration @EnableAutoConfiguration @ComponentScan(basePackageClasses={ch.sahits.game.openpatrician.utilities.IOpenPatricianUtilitiesComponents.class,ModelConfiguration.class}) public class ModelConfiguration extends java.lang.ObjectJava configuration of the spring context.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Feb 02, 2014
-
-
Constructor Summary
Constructors Constructor Description ModelConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICitycityBean(ch.sahits.game.openpatrician.data.xmlmodel.map.Map.Cities.City cityData)ICitycityBean(FoundNewSettlement cityData)java.util.LocaledefaultLocale()ch.sahits.game.openpatrician.utilities.service.RandomNameLoaderfirstNameLoader()org.springframework.oxm.jaxb.Jaxb2Marshallerjaxb2XmlModelMarshallerMap()org.springframework.oxm.jaxb.Jaxb2Marshallerjaxb2XmlModelMarshallerWeapon()ch.sahits.game.openpatrician.utilities.service.RandomNameLoaderlastNameLoader()org.springframework.context.support.ReloadableResourceBundleMessageSourcemessageSource()org.springframework.beans.factory.config.PropertiesFactoryBeanmodel()org.springframework.beans.factory.config.PropertiesFactoryBeanmodelProperties()com.google.common.collect.Interner<javafx.geometry.Point2D>pointInterner()java.util.Randomrnd()ch.sahits.game.openpatrician.utilities.service.RandomNameLoadershipNameLoader()AmountablePrice<IWare>wareAmountable()BaseAmountable<IWeapon>weaponAmountable()
-
-
-
Method Detail
-
rnd
@Bean public java.util.Random rnd()
-
pointInterner
@Bean public com.google.common.collect.Interner<javafx.geometry.Point2D> pointInterner()
-
jaxb2XmlModelMarshallerMap
@Bean public org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2XmlModelMarshallerMap()
-
jaxb2XmlModelMarshallerWeapon
@Bean public org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2XmlModelMarshallerWeapon()
-
model
@Bean public org.springframework.beans.factory.config.PropertiesFactoryBean model()
-
defaultLocale
@Bean public java.util.Locale defaultLocale()
-
firstNameLoader
@Bean public ch.sahits.game.openpatrician.utilities.service.RandomNameLoader firstNameLoader()
-
lastNameLoader
@Bean public ch.sahits.game.openpatrician.utilities.service.RandomNameLoader lastNameLoader()
-
shipNameLoader
@Bean public ch.sahits.game.openpatrician.utilities.service.RandomNameLoader shipNameLoader()
-
modelProperties
@Bean public org.springframework.beans.factory.config.PropertiesFactoryBean modelProperties()
-
cityBean
@Bean @Scope("prototype") public ICity cityBean(ch.sahits.game.openpatrician.data.xmlmodel.map.Map.Cities.City cityData)
-
cityBean
@Bean @Scope("prototype") public ICity cityBean(FoundNewSettlement cityData)
-
messageSource
@Bean public org.springframework.context.support.ReloadableResourceBundleMessageSource messageSource()
-
weaponAmountable
@Bean @Scope("prototype") public BaseAmountable<IWeapon> weaponAmountable()
-
wareAmountable
@Bean @Scope("prototype") public AmountablePrice<IWare> wareAmountable()
-
-