Class JdbiRepositoryFactoryBean

java.lang.Object
org.jdbi.v3.spring5.JdbiRepositoryFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class JdbiRepositoryFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Object>, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • JdbiRepositoryFactoryBean

      public JdbiRepositoryFactoryBean()
  • Method Details

    • getObject

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

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

      public void setObjectType(Class<?> objectType)
      The object type of the repository.
    • setJdbiQualifier

      public void setJdbiQualifier(@Nullable String jdbiQualifier)
      Set the jdbi qualifier.
      Parameters:
      jdbiQualifier - The name of the jdbi bean to bind the repository to. if null then no name will be specified during resolution.
    • afterPropertiesSet

      public void afterPropertiesSet()
      Verifies that the object type has been set
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext context)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware