Class ApplicationContextHolder


  • public final class ApplicationContextHolder
    extends Object
    Since:
    2.0.0
    Author:
    Marcel Overdijk
    • Method Detail

      • getRequiredApplicationContext

        public static org.springframework.context.ApplicationContext getRequiredApplicationContext()
      • getApplicationContext

        public static org.springframework.context.ApplicationContext getApplicationContext()
      • bind

        public static void bind​(org.springframework.context.ApplicationContext context)
        Binds the ApplicationContext to the current context class loader.
        Parameters:
        context - the application context to bind
      • release

        public static void release()
        Releases the ApplicationContext associated with the current context class loader.