1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Hibernate, Relational Persistence for Idiomatic Java
5 ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
6 ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
8 <blueprint default-activation="eager"
9 xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
12 <bean id="dpService" class="org.hibernate.osgitest.DataPointServiceImpl"/>
13 <service ref="dpService" interface="org.hibernate.osgitest.DataPointService"/>
15 <!-- This demonstrates how to register your custom implementations of Hibernate extension points. -->
17 <bean id="integrator" class="org.hibernate.osgitest.TestIntegrator"/>
18 <service ref="integrator" interface="org.hibernate.integrator.spi.Integrator"/>
20 <bean id="strategyRegistrationProvider" class="org.hibernate.osgitest.TestStrategyRegistrationProvider"/>
21 <service ref="strategyRegistrationProvider"
22 interface="org.hibernate.boot.registry.selector.StrategyRegistrationProvider"/>
24 <bean id="typeContributor" class="org.hibernate.osgitest.TestTypeContributor"/>
25 <service ref="typeContributor" interface="org.hibernate.boot.model.TypeContributor"/>
27 <!-- This bundle makes use of Karaf commands to demonstrate core persistence operations. Feel free to remove it. -->
28 <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
30 <action class="org.hibernate.osgitest.command.AddCommand">
31 <property name="dpService" ref="dpService"/>
35 <action class="org.hibernate.osgitest.command.UpdateCommand">
36 <property name="dpService" ref="dpService"/>
40 <action class="org.hibernate.osgitest.command.GetCommand">
41 <property name="dpService" ref="dpService"/>
45 <action class="org.hibernate.osgitest.command.LoadCommand">
46 <property name="dpService" ref="dpService"/>
50 <action class="org.hibernate.osgitest.command.GetAllCommand">
51 <property name="dpService" ref="dpService"/>
55 <action class="org.hibernate.osgitest.command.GetRevisionsCommand">
56 <property name="dpService" ref="dpService"/>
60 <action class="org.hibernate.osgitest.command.DeleteAllCommand">
61 <property name="dpService" ref="dpService"/>