Class AdapterBeanFactory

java.lang.Object
com.sap.cds.framework.spring.config.adapter.AdapterBeanFactory
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.SmartFactoryBean<Object>

public class AdapterBeanFactory extends Object implements org.springframework.beans.factory.SmartFactoryBean<Object>, org.springframework.beans.factory.BeanFactoryAware
Factory bean to create an adapter as bean based on a AdapterFactory
  • Field Summary

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    boolean
     
    void
    setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.beans.factory.FactoryBean

    isSingleton

    Methods inherited from interface org.springframework.beans.factory.SmartFactoryBean

    isPrototype
  • Constructor Details

    • AdapterBeanFactory

      public AdapterBeanFactory(String factoryName)
  • Method Details

    • getObject

      public Object getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<Object>
      Throws:
      Exception
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException
    • getObjectType

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

      public boolean isEagerInit()
      Specified by:
      isEagerInit in interface org.springframework.beans.factory.SmartFactoryBean<Object>