Created
October 21, 2019 19:26
-
-
Save steinarb/9f0387f11d5274aa12e88996cb621ecc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component(service=UkelonnDatabase.class, immediate=true) | |
public class PGUkelonnDatabaseProvider implements UkelonnDatabase { | |
private DataSourceFactory dataSourceFactory; | |
@Reference(target="(osgi.jdbc.driver.name=PostgreSQL JDBC Driver)") | |
public void setDataSourceFactory(DataSourceFactory dataSourceFactory) { | |
this.dataSourceFactory = dataSourceFactory; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment