Class ApplicationContextProvider

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class ApplicationContextProvider
    extends java.lang.Object
    implements org.springframework.context.ApplicationContextAware
    • Constructor Detail

      • ApplicationContextProvider

        public ApplicationContextProvider()
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext newApplicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • getApplicationContext

        @Nullable
        public static org.springframework.context.ApplicationContext getApplicationContext()