Last active
August 29, 2015 14:09
-
-
Save Tcharl/375819345e1b7d6217f0 to your computer and use it in GitHub Desktop.
Export a datasource as an OSGI service
This file contains hidden or 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
| <service ref="dataSource" interface="javax.sql.DataSource"> | |
| <service-properties> | |
| <entry key="osgi.jndi.service.name" value="jdbc/${project.parent.artifactId}.database" /> | |
| </service-properties> | |
| </service> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment