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