Class ApplicationContextProvider

java.lang.Object
org.joinfaces.rewrite.ApplicationContextProvider
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware

public class ApplicationContextProvider extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean
  • Constructor Details

    • ApplicationContextProvider

      public ApplicationContextProvider()
  • Method Details

    • 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
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
    • getApplicationContext

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