org.springframework.batch.sample.config

## Class DataSourceConfiguration

- java.lang.Object
- - org.springframework.batch.sample.config.DataSourceConfiguration

-     @Configuration
       @PropertySource(value="classpath:/batch-hsql.properties")
      public class DataSourceConfiguration
      extends java.lang.Object

  Author:
    Dave Syer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataSourceConfiguration()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.sql.DataSource` | `dataSource()`
    `protected void` | `initialize()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### DataSourceConfiguration

          public DataSourceConfiguration()

  - ### Method Detail

    - #### initialize

          @PostConstruct
          protected void initialize()

    - #### dataSource

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