package ch01.l0103;

/**
 * autogen. getter/setter
 */
public class FortuneServiceFactory {

	private FortuneServiceFactory() {
		// private ctor.
	}

	private static FortuneService fortuneService = new FortuneServiceImpl();

	public static FortuneService getFortuneService() {
		return fortuneService;
	}

	public static void setFortuneService(FortuneService fortuneService) {
		FortuneServiceFactory.fortuneService = fortuneService;
	}
}
