Class ApplicationContextAccess

java.lang.Object
com.sap.cloud.spring.boot.mt.config.ApplicationContextAccess
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@ConditionalOnProperty(name="com.sap.mt.enabled", matchIfMissing=true) @Configuration("ComSapMtApplicationContextAccess") public class ApplicationContextAccess extends Object implements org.springframework.context.ApplicationContextAware
  • Constructor Details

    • ApplicationContextAccess

      public ApplicationContextAccess()
  • Method Details

    • setApplicationContext

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

      public static <T> T getBean(Class<T> clazz)