Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@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
You can’t perform that action at this time.