
OSGI-INF.blueprint.edb-context.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.openengsb.framework.edb Show documentation
Show all versions of org.openengsb.framework.edb Show documentation
OpenEngSB Engineering Database Service is used to give an implementation for the connection to the EDB.
The newest version!
<?xml version="1.0" encoding="utf-8" ?> <!-- Licensed to the Austrian Association for Software Tool Integration (AASTI) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The AASTI 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 xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd" xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0" xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0"> <bean id="edbServiceProvider" class="org.openengsb.core.edb.internal.JPADatabase"> <tx:transaction method="*" value="Required" /> <jpa:context property="entityManager" unitname="edb" /> <property name="utilsService"> <bean class="org.openengsb.core.common.util.DefaultOsgiUtilsService"> <property name="bundleContext" ref="blueprintBundleContext" /> </bean> </property> </bean> <service interface="org.openengsb.core.api.edb.EngineeringDatabaseService"> <ref component-id="edbServiceProvider" /> </service> </blueprint>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy