Class MustacheCompilerFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<MustacheCompiler>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    public class MustacheCompilerFactoryBean
    extends org.springframework.beans.factory.config.AbstractFactoryBean<MustacheCompiler>
    implements org.springframework.beans.factory.FactoryBean<MustacheCompiler>, org.springframework.context.ApplicationContextAware
    Create mustache compiler. Use classpath detection to instantiate appropriate implementation. Beans are retrieved using application context.
    • Field Summary

      • Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

        logger
      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • Constructor Detail

      • MustacheCompilerFactoryBean

        public MustacheCompilerFactoryBean()
    • Method Detail

      • getObjectType

        public Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<MustacheCompiler>
        Specified by:
        getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<MustacheCompiler>
      • 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