@Service public class PostgresDataSourceProvider extends Object implements org.glassfish.hk2.api.Factory<DataSource>
| Constructor and Description |
|---|
PostgresDataSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(DataSource instance) |
DataSource |
provide() |
@Singleton public DataSource provide()
provide in interface org.glassfish.hk2.api.Factory<DataSource>public void dispose(DataSource instance)
dispose in interface org.glassfish.hk2.api.Factory<DataSource>Copyright © 2016–2018 Sharmarke Aden. All rights reserved.