| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2010-2014 SAP AG and others. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| SAP AG - initial API and implementation |
| --> |
| <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.skalli.core.component.feed.jpa"> |
| <implementation class="org.eclipse.skalli.core.feed.jpa.JPAFeedComponent"/> |
| <service> |
| <provide interface="org.eclipse.skalli.services.persistence.EntityManagerService"/> |
| <provide interface="org.eclipse.skalli.services.feed.FeedService"/> |
| </service> |
| <reference |
| target="(osgi.unit.name=store)" |
| interface="org.osgi.service.jpa.EntityManagerFactoryBuilder" |
| name="EntityManagerFactoryBuilder" |
| policy="dynamic" |
| cardinality="1..1" |
| bind="bindEntityManagerFactoryBuilder" |
| unbind="unbindEntityManagerFactoryBuilder"/> |
| <reference |
| target="(osgi.unit.name=store)" |
| interface="javax.persistence.EntityManagerFactory" |
| name="EntityManagerFactory" |
| policy="dynamic" |
| cardinality="0..1" /> |
| <property name="feedService.type" type="String" value="jpa"/> |
| </scr:component> |