Class SpringBootBeanNameResolver

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

    public class SpringBootBeanNameResolver
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      SpringBootBeanNameResolver​(org.springframework.context.ApplicationContext context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBeanName​(java.lang.Class<?> clazz)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringBootBeanNameResolver

        public SpringBootBeanNameResolver​(org.springframework.context.ApplicationContext context)
    • Method Detail

      • getBeanName

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