org.springframework.boot.jdbc

Class AbstractDataSourceInitializer

  • java.lang.Object
    • org.springframework.boot.jdbc.AbstractDataSourceInitializer
  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    Deprecated. 
    since 2.6.0 for removal in 3.0.0 in favor of DataSourceScriptDatabaseInitializer

    @Deprecated
    public abstract class AbstractDataSourceInitializer
    extends java.lang.Object
    implements org.springframework.beans.factory.InitializingBean
    Base class used for DataSource initialization.
    Since:
    1.5.0
    • Constructor Detail

      • AbstractDataSourceInitializer

        protected AbstractDataSourceInitializer(javax.sql.DataSource dataSource,
                                                org.springframework.core.io.ResourceLoader resourceLoader)
        Deprecated. 
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Deprecated. 
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • initialize

        protected void initialize()
        Deprecated. 
      • customize

        protected void customize(org.springframework.jdbc.datasource.init.ResourceDatabasePopulator populator)
        Deprecated. 
        Customize the ResourceDatabasePopulator.
        Parameters:
        populator - the configured database populator
      • getSchemaLocation

        protected abstract java.lang.String getSchemaLocation()
        Deprecated. 
      • getDatabaseName

        protected java.lang.String getDatabaseName()
        Deprecated.