ch.sahits.game.openpatrician.model
Class ModelDIFactory
java.lang.Object
ch.sahits.game.openpatrician.util.BaseDIFactory
ch.sahits.game.openpatrician.model.ModelDIFactory
public class ModelDIFactory
- extends BaseDIFactory
|
Constructor Summary |
protected |
ModelDIFactory()
Make the constructor portected to ensure it only can be called from super classes
implementing the singleton pattern |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
private org.springframework.beans.factory.BeanFactory factory
INSTANCE
private static ModelDIFactory INSTANCE
ModelDIFactory
protected ModelDIFactory()
- Make the constructor portected to ensure it only can be called from super classes
implementing the singleton pattern
getInstance
public static ModelDIFactory getInstance()
init
public void init()
- Overrides:
init in class BaseDIFactory
getPolulanceConsumtion
public PopulationConsume getPolulanceConsumtion()
- Retrieve the PolulationConsumtion instance
- Returns:
getCityProduction
public CityProduction getCityProduction()
- Retrieve the CityProduction instance
- Returns:
getBuildingProduction
public BuildingProduction getBuildingProduction()
- Retrieve the BuildingProduction instance
- Returns:
Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.