+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
+ ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
+ -->
+<blueprint default-activation="eager"
+ xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0"
+ xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0">
+
+ <!-- This gets the container-managed EntityManager and injects it into the DataPointServiceImpl bean. -->
+ <bean id="dpService" class="org.hibernate.osgitest.DataPointServiceImpl">
+ <jpa:context unitname="managed-jpa" property="entityManager"/>
+ <tx:transaction method="*" value="Required"/>
+ </bean>
+ <service ref="dpService" interface="org.hibernate.osgitest.DataPointService"/>
+
+ <!-- This demonstrates how to register your custom implementations of Hibernate extension points, such as
+ Integrator and TypeContributor. -->
+ <!-- <bean id="integrator" class="your.package.IntegratorImpl"/>
+ <service ref="integrator" interface="org.hibernate.integrator.spi.Integrator"/>
+ <bean id="typeContributor" class="your.package.TypeContributorImpl"/>
+ <service ref="typeContributor" interface="org.hibernate.metamodel.spi.TypeContributor"/> -->
+
+ <!-- This bundle makes use of Karaf commands to demonstrate core persistence operations. Feel free to remove it. -->
+ <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
+ <command>
+ <action class="org.hibernate.osgitest.command.AddCommand">
+ <property name="dpService" ref="dpService"/>
+ </action>
+ </command>
+ <command>
+ <action class="org.hibernate.osgitest.command.GetAllCommand">
+ <property name="dpService" ref="dpService"/>
+ </action>
+ </command>
+ <command>
+ <action class="org.hibernate.osgitest.command.DeleteAllCommand">
+ <property name="dpService" ref="dpService"/>
+ </action>
+ </command>
+ </command-bundle>
+</blueprint>