Class SpringBootBeanNameResolver

  • All Implemented Interfaces:
    org.ocpsoft.rewrite.el.spi.BeanNameResolver

    public class SpringBootBeanNameResolver
    extends Object
    implements org.ocpsoft.rewrite.el.spi.BeanNameResolver
    BeanNameResolver implementation for Spring. Inspired by https://github.com/ocpsoft/rewrite/blob/master/integration-spring/src/main/java/org/ocpsoft/rewrite/spring/SpringServiceEnricher.java
    See Also:
    SpringBeanNameResolver
    • Constructor Detail

      • SpringBootBeanNameResolver

        public SpringBootBeanNameResolver​(ApplicationContext context)
    • Method Detail

      • getBeanName

        @Nullable
        public String getBeanName​(Class<?> clazz)
        Specified by:
        getBeanName in interface org.ocpsoft.rewrite.el.spi.BeanNameResolver