-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<blueprint default-activation="eager"
- xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <bean id="dpService" class="org.hibernate.osgitest.DataPointServiceImpl"/>
- <service ref="dpService" interface="org.hibernate.osgitest.DataPointService" />
-
- <!-- This demonstrates how to register your custom implementations of Hibernate extension points. -->
-
- <bean id="integrator" class="org.hibernate.osgitest.TestIntegrator"/>
- <service ref="integrator" interface="org.hibernate.integrator.spi.Integrator"/>
-
- <bean id="strategyRegistrationProvider" class="org.hibernate.osgitest.TestStrategyRegistrationProvider"/>
- <service ref="strategyRegistrationProvider" interface="org.hibernate.boot.registry.selector.StrategyRegistrationProvider"/>
-
- <bean id="typeContributor" class="org.hibernate.osgitest.TestTypeContributor"/>
- <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 name="dp:add">
- <action class="org.hibernate.osgitest.command.AddCommand">
- <property name="dpService" ref="dpService"/>
- </action>
- </command>
- <command name="dp:update">
- <action class="org.hibernate.osgitest.command.UpdateCommand">
- <property name="dpService" ref="dpService"/>
- </action>
- </command>
- <command name="dp:getAll">
- <action class="org.hibernate.osgitest.command.GetAllCommand">
- <property name="dpService" ref="dpService"/>
- </action>
- </command>
- <command name="dp:deleteAll">
- <action class="org.hibernate.osgitest.command.DeleteAllCommand">
- <property name="dpService" ref="dpService"/>
- </action>
- </command>
- </command-bundle>
-</blueprint>