This repository has been archived by the owner on Feb 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Pavel Vlasov edited this page Oct 9, 2014
·
1 revision
This bundle contains H2RepositoryProvider component. It supports the following properties:
-
.h2.url
- Database URL. If not specified defaults to component name in thedb
sub-directory of defining bundle's data directory. -
.audits
- Enables audits. -
.branches
- Enables branches. -
.repository.
- Prefix for repository properties, e.g. value of.repository.myProperty
will be passed to the repository inmyProperty
property. -
.repositoryName
- Repository name, defaults to component name.
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="false" name="credit_cards_repository">
<implementation class="org.nasdanika.cdo.h2.H2RepositoryProvider"/>
<service>
<provide interface="org.nasdanika.cdo.RepositoryProvider"/>
</service>
<!-- <property name=".h2.url" type="String" value="_data/credit_cards"/> -->
<property name=".repositoryName" type="String" value="credit_cards"/>
</scr:component>