Class SpringBeanProxyFactoryBean<T>

java.lang.Object
io.meeds.spring.kernel.model.SpringBeanProxyFactoryBean<T>
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<T>

public class SpringBeanProxyFactoryBean<T> extends Object implements org.springframework.beans.factory.FactoryBean<T>
Used to inject Beans from a Spring content to another by avoiding `AutowiredAnnotationBeanPostProcessor` which will attempt to resolve `@Autowired` Bean dependencies again. See Meeds-io/meeds#2469
  • Constructor Details

    • SpringBeanProxyFactoryBean

      public SpringBeanProxyFactoryBean()
  • Method Details

    • getObject

      public T getObject()
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<T>
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<T>