Class 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  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • context

        private static org.springframework.context.ApplicationContext context
    • Constructor Detail

      • DependencyInjectionFactory

        public DependencyInjectionFactory()
    • 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