
OSGI-INF.serviceComponents.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.sakaiproject.nakamura.derby-driver Show documentation
Show all versions of org.sakaiproject.nakamura.derby-driver Show documentation
Storage SPI implementation using Cassandra
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0"> <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.storage.jdbc.derby.DerbyJDBCStorageClientPool" activate="activate" deactivate="deactivate"> <implementation class="org.sakaiproject.nakamura.lite.storage.jdbc.derby.DerbyJDBCStorageClientPool"/> <service servicefactory="false"> <provide interface="org.sakaiproject.nakamura.lite.storage.spi.StorageClientPool"/> </service> <property name="jdbc-url" type="String" value="jdbc:derby:sling/sparsemap/db;create=true"/> <property name="jdbc-driver" type="String" value="org.apache.derby.jdbc.EmbeddedDriver"/> <property name="username" type="String" value="sa"/> <property name="password" type="String" value=""/> <property name="max-active" type="Integer" value="200"/> <property name="max-wait" type="Long" value="10"/> <property name="max-idle" type="Integer" value="5"/> <property name="test-on-borrow" type="Boolean" value="true"/> <property name="test-on-return" type="Boolean" value="true"/> <property name="time-between-eviction-run" type="Long" value="60000"/> <property name="num-tests-per-eviction-run" type="Integer" value="1000"/> <property name="min-evictable-idle-time-millis" type="Long" value="10000"/> <property name="test-while-idle" type="Boolean" value="false"/> <property name="when-exhausted-action" type="String" value="grow"/> <property name="long-string-size" type="Integer" value="16384"/> <property name="store-base-dir" type="String" value="store"/> <property name="long-string-base-dir" type="String" value="store"/> <property name="service.pid" value="org.sakaiproject.nakamura.lite.storage.jdbc.derby.DerbyJDBCStorageClientPool"/> <reference name="storageManagerCache" interface="org.sakaiproject.nakamura.api.lite.StorageCacheManager" cardinality="1..1" policy="static" bind="bindStorageManagerCache" unbind="unbindStorageManagerCache"/> <reference name="configuration" interface="org.sakaiproject.nakamura.api.lite.Configuration" cardinality="1..1" policy="static" bind="bindConfiguration" unbind="unbindConfiguration"/> </scr:component> </components>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy