@Configuration
@ComponentScan(basePackages={"ch.sahits.game.openpatrician.model","ch.sahits.game.openpatrician.util","ch.sahits.game.openpatrician.persistence.converter"})
public class ModelConfiguration
extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.core.env.Environment |
standardEnvironment |
| 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.map.City cityData) |
ICity |
cityBean(FoundNewSettlement cityData) |
Locale |
defaultLocale() |
RandomNameLoader |
firstNameLoader() |
org.springframework.oxm.jaxb.Jaxb2Marshaller |
jaxb2MapMarshaller() |
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() |
@Autowired private org.springframework.core.env.Environment standardEnvironment
@Bean public Random rnd()
@Bean public com.google.common.collect.Interner<javafx.geometry.Point2D> pointInterner()
@Bean public org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2MapMarshaller()
@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.map.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-2017 Sahits GmbH. All Rights Reserved.