Class DependencyInjectionFactory
- java.lang.Object
-
- ch.sahits.game.openpatrician.utilities.DependencyInjectionFactory
-
public final class DependencyInjectionFactory extends java.lang.Object
This factory class provides some utility methods used by the standalone application to integrate the spring frame work.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 12, 2013
-
-
Field Summary
Fields Modifier and Type Field Description private static org.springframework.context.ApplicationContext
context
-
Constructor Summary
Constructors Constructor Description DependencyInjectionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.springframework.context.ApplicationContext
getAppicationConext()
static void
initializeApplicationContext(org.springframework.context.ApplicationContext parent)
Initialize the application context with the given name from the class path.
-
-
-
Method Detail
-
getAppicationConext
public static org.springframework.context.ApplicationContext getAppicationConext()
-
initializeApplicationContext
public static void initializeApplicationContext(org.springframework.context.ApplicationContext parent)
Initialize the application context with the given name from the class path.- Parameters:
parent
- parent application context
-
-