Package io.spring.configuration

# Class EmbeddedDataSourceConfiguration

java.lang.Object
io.spring.configuration.EmbeddedDataSourceConfiguration

@Configuration(proxyBeanMethods=false) @Profile("embedded") public class EmbeddedDataSourceConfiguration extends Object
Creates two data sources that use embedded databases.

Author:
  Michael Minella, Glenn Renfro

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EmbeddedDataSourceConfiguration()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DataSource`
  `dataSource()`
  `DataSource`
  `secondDataSource()`

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

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

- ## Constructor Details

  - ### EmbeddedDataSourceConfiguration

    public EmbeddedDataSourceConfiguration()

- ## Method Details

  - ### dataSource

    @Bean public DataSource dataSource()

  - ### secondDataSource

    @Bean public DataSource secondDataSource()