类 DataSourceConfiguration


  • @Configuration
    @PropertySource("classpath:/batch-hsql.properties")
    public class DataSourceConfiguration
    extends java.lang.Object
    作者:
    Dave Syer
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      javax.sql.DataSourcedataSource() 
      protected voidinitialize() 
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • initialize

        @PostConstruct
        protected void initialize()
      • dataSource

        @Bean(destroyMethod="close")
        public javax.sql.DataSource dataSource()