浏览代码

Moved 'app.properties' into resources, i.e. classpath root.

Jesper Hammarbäck 18 年前
父节点
当前提交
06dc6f1f8c

+ 0
- 1
register-app/app.properties 查看文件

1
-wsdl.url=http://localhost:8080/dddsample/ws/RegisterEvent?wsdl

+ 1
- 0
register-app/src/main/resources/app.properties 查看文件

1
+wsdl.url=http://localhost:8888/dddsample/ws/RegisterEvent?wsdl

+ 2
- 4
register-app/src/main/resources/context-app.xml 查看文件

9
        xmlns:context="http://www.springframework.org/schema/context">
9
        xmlns:context="http://www.springframework.org/schema/context">
10
 
10
 
11
   <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
11
   <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
12
-    <property name="locations">
13
-      <value>classpath:app.properties</value>
14
-    </property>
12
+    <property name="locations" value="classpath:app.properties"/>
15
   </bean>
13
   </bean>
16
 
14
 
17
   <bean id="registerApp" class="se.citerus.registerapp.RegisterApp">
15
   <bean id="registerApp" class="se.citerus.registerapp.RegisterApp">
20
   </bean>
18
   </bean>
21
 
19
 
22
   <bean id="handlingEventServiceWs" class="se.citerus.registerapp.service.HandlingEventServiceWs">
20
   <bean id="handlingEventServiceWs" class="se.citerus.registerapp.service.HandlingEventServiceWs">
23
-    <property name="endPoint" ref="handlingEventWebServiceEndPoint"></property>
21
+    <property name="endPoint" ref="handlingEventWebServiceEndPoint"/>
24
   </bean>
22
   </bean>
25
 
23
 
26
   <bean id="handlingEventWebServiceEndPoint" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
24
   <bean id="handlingEventWebServiceEndPoint" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">