Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (38 sloc) 2.11 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2012 FuseSource
~
~ Licensed 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.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ctx="http://www.springframework.org/schema/context"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://www.springframework.org/schema/osgi-compendium http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd">
<osgix:cm-properties id="osgi.properties" persistent-id="com.fusesource.examples.hororss-reader">
<prop key="foo">bar</prop>
</osgix:cm-properties>
<ctx:property-placeholder properties-ref="osgi.properties"/>
<osgi:reference id="mybatis" interface="org.apache.camel.Component"
filter="(&amp;(component=mybatis)(database=horo-app))"/>
<osgi:reference id="txManager"
interface="org.springframework.transaction.PlatformTransactionManager"
filter="(database=horo-app)"/>
<osgi:reference id="dataSource" interface="javax.sql.DataSource"
filter="(database=horo-app)"/>
</beans>