@Configuration @EnableConfigurationProperties(value=PostgreConfiguration.class) public class PostgreAutoConfigurer extends Object
| Constructor and Description |
|---|
PostgreAutoConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
org.postgresql.ds.PGPoolingDataSource |
pgPoolingDataSource(PostgreConfiguration configuration)
Postgre Datasource bean
|
PostgreInternal |
postgreInternal(PostgreService postgreService)
PostgreInternal
|
PostgreService |
postgreService(org.postgresql.ds.PGPoolingDataSource dataSource)
PostgreService bean
|
@Bean @Autowired public org.postgresql.ds.PGPoolingDataSource pgPoolingDataSource(PostgreConfiguration configuration)
@Bean @Autowired public PostgreService postgreService(org.postgresql.ds.PGPoolingDataSource dataSource)
@Bean @Autowired public PostgreInternal postgreInternal(PostgreService postgreService)
postgreService - postgre serviceCopyright © 2021 Pivotal Software, Inc.. All rights reserved.