Changeset 667

Show
Ignore:
Timestamp:
17-04-12 14:11:47 (2 years ago)
Author:
david.vanenckevort@…
Message:

* Fix injection issue introduced with upgrade to Spring Framework 3.1.1 by converting to annotation driven configuration with @EnableWebMvc?.

Location:
trunk/code/conceptwiki/web/web-ws/src/main
Files:
1 added
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/code/conceptwiki/web/web-ws/src/main/webapp/WEB-INF/web-ws-context.xml

    r458 r667  
    22        xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" 
    33        xsi:schemaLocation=" 
    4                 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
    5                 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd 
    6                 http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd" 
     4                http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd 
     5                http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd 
     6                http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd" 
    77        default-init-method="init" default-destroy-method="destroy"> 
    88        <!-- 
     
    1414         
    1515        <!-- 
    16                 bla 
     16        Scan the given package and subpackages for Beans to wire. 
    1717        --> 
    1818        <context:component-scan base-package="nl.nbic.conceptwiki.web.ws"/> 
    1919        <!-- 
    20                 foo 
     20                Load properties from the given properties file. 
    2121        --> 
    2222        <context:property-placeholder location="/WEB-INF/ws.properties"/> 
    2323         
    24         <!-- 
    25                 bar 
    26         --> 
    27         <mvc:annotation-driven/> 
    2824         
    2925        <!-- 
     
    4036         
    4137        <!-- 
    42                 rmi 
     38                Wire the concepService through rmi. 
    4339        --> 
    4440        <bean id="conceptService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">