@Configuration
@EnableAutoConfiguration
@ComponentScan(basePackageClasses={ch.sahits.game.openpatrician.utilities.IOpenPatricianUtilitiesComponents.class,ModelConfiguration.class})
public class ModelConfiguration
extends java.lang.Object
| Constructor | Description |
|---|---|
ModelConfiguration() |
| Modifier and Type | Method | Description |
|---|---|---|
static org.springframework.beans.factory.config.PropertyPlaceholderConfigurer |
applicationProperties(java.lang.String userHome) |
|
ICity |
cityBean(ch.sahits.game.openpatrician.data.xmlmodel.map.Map.Cities.City cityData) |
|
ICity |
cityBean(FoundNewSettlement cityData) |
|
java.util.Locale |
defaultLocale() |
|
ch.sahits.game.openpatrician.utilities.service.RandomNameLoader |
firstNameLoader() |
|
org.springframework.oxm.jaxb.Jaxb2Marshaller |
jaxb2XmlModelMarshallerMap() |
|
org.springframework.oxm.jaxb.Jaxb2Marshaller |
jaxb2XmlModelMarshallerWeapon() |
|
ch.sahits.game.openpatrician.utilities.service.RandomNameLoader |
lastNameLoader() |
|
org.springframework.context.support.ReloadableResourceBundleMessageSource |
messageSource() |
|
org.springframework.beans.factory.config.PropertiesFactoryBean |
model() |
|
org.springframework.beans.factory.config.PropertiesFactoryBean |
modelProperties() |
|
com.google.common.collect.Interner<javafx.geometry.Point2D> |
pointInterner() |
|
java.util.Random |
rnd() |
|
ch.sahits.game.openpatrician.utilities.service.RandomNameLoader |
shipNameLoader() |
|
AmountablePrice<IWare> |
wareAmountable() |
|
BaseAmountable<IWeapon> |
weaponAmountable() |
@Bean public java.util.Random rnd()
@Bean public com.google.common.collect.Interner<javafx.geometry.Point2D> pointInterner()
@Bean public org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2XmlModelMarshallerMap()
@Bean public org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2XmlModelMarshallerWeapon()
@Bean
public static org.springframework.beans.factory.config.PropertyPlaceholderConfigurer applicationProperties(@Value("#{systemProperties[\'user.home\']}")
java.lang.String userHome)
@Bean public org.springframework.beans.factory.config.PropertiesFactoryBean model()
@Bean public java.util.Locale defaultLocale()
@Bean public ch.sahits.game.openpatrician.utilities.service.RandomNameLoader firstNameLoader()
@Bean public ch.sahits.game.openpatrician.utilities.service.RandomNameLoader lastNameLoader()
@Bean public ch.sahits.game.openpatrician.utilities.service.RandomNameLoader shipNameLoader()
@Bean public org.springframework.beans.factory.config.PropertiesFactoryBean modelProperties()
@Bean
@Scope("prototype")
public ICity cityBean(ch.sahits.game.openpatrician.data.xmlmodel.map.Map.Cities.City cityData)
@Bean
@Scope("prototype")
public ICity cityBean(FoundNewSettlement cityData)
@Bean public org.springframework.context.support.ReloadableResourceBundleMessageSource messageSource()
@Bean
@Scope("prototype")
public BaseAmountable<IWeapon> weaponAmountable()
@Bean
@Scope("prototype")
public AmountablePrice<IWare> wareAmountable()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.