Author: davidb
Date: Tue Apr 14 15:06:02 2009
New Revision: 764819
URL: http://svn.apache.org/viewvc?rev=764819&view=rev
Log:
Adding Spring configuration file.
Added:
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/discovery-spring.xml
(with props)
Added:
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/discovery-spring.xml
URL:
http://svn.apache.org/viewvc/cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/discovery-spring.xml?rev=764819&view=auto
==============================================================================
---
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/discovery-spring.xml
(added)
+++
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/discovery-spring.xml
Tue Apr 14 15:06:02 2009
@@ -0,0 +1,51 @@
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
+ xmlns:ctx="http://www.springframework.org/schema/context"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
+ http://www.springframework.org/schema/osgi-compendium
http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd">
+
+
+ <!-- Configuration Admin entry -->
+ <osgix:cm-properties id="cmProps"
persistent-id="org.apache.cxf.dosgi.discovery.zookeeper">
+ <prop key="zookeeper.host">127.0.0.1</prop>
+ <prop key="zookeeper.port">2181</prop>
+ <prop key="zookeeper.timeout">3000</prop>
+ </osgix:cm-properties>
+
+ <!-- placeholder configurer -->
+ <ctx:property-placeholder properties-ref="cmProps" />
+
+ <bean id="cxf-zookeeper-discovery" scope="bundle"
class="org.apache.cxf.dosgi.discovery.zookeeper.DiscoveryServiceImpl">
+ <property name="zooKeeperHost" value="${zookeeper.host}"/>
+ <property name="zooKeeperPort" value="${zookeeper.port}"/>
+ <property name="zooKeeperTimeout" value="${zookeeper.timeout}"/>
+ </bean>
+
+ <bean class="org.apache.cxf.dosgi.discovery.zookeeper.DiscoveryBean">
+ <property name="discoveryServiceBean" ref="cxf-zookeeper-discovery"/>
+ </bean>
+</beans>
+
Propchange:
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/discovery-spring.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/discovery-spring.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange:
cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/resources/META-INF/spring/discovery-spring.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml