Class SpringObjectModelResolver

  • All Implemented Interfaces:
    org.kie.internal.runtime.conf.ObjectModelResolver, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class SpringObjectModelResolver
    extends Object
    implements org.kie.internal.runtime.conf.ObjectModelResolver, org.springframework.context.ApplicationContextAware
    • Constructor Detail

      • SpringObjectModelResolver

        public SpringObjectModelResolver()
    • Method Detail

      • getInstance

        public Object getInstance​(org.kie.internal.runtime.conf.ObjectModel model,
                                  ClassLoader cl,
                                  Map<String,​Object> contextParams)
        Specified by:
        getInstance in interface org.kie.internal.runtime.conf.ObjectModelResolver
      • accept

        public boolean accept​(String resolverId)
        Specified by:
        accept in interface org.kie.internal.runtime.conf.ObjectModelResolver
      • 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