Class SpringHelper

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

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

      • SpringHelper

        public SpringHelper()
    • Method Detail

      • getBean

        public <T> T getBean​(java.lang.String name,
                             java.lang.Class<T> clazz)
      • getSpringContext

        public org.springframework.context.ApplicationContext getSpringContext()
      • 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