Class NamedBeanContextItemProvider

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

    public final class NamedBeanContextItemProvider
    extends Object
    implements org.springframework.context.ApplicationContextAware, VelocityContextItemProvider
    Context map provider which will construct a bean name to bean reference map from the configured bean names and return this singleton map for every invocation of getContextMap()
    • Constructor Detail

      • NamedBeanContextItemProvider

        public NamedBeanContextItemProvider()
    • Method Detail

      • setBeanNames

        public void setBeanNames​(String[] beanNames)
      • 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