Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1221

Spring 4 integration not working for substitute class names with PropertyPlaceholderConfigurer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 3.0.11.Final
    • None
    • Hide

      config.properties
      helloworld.service=test.resteasy.services.server.impl.HelloWorldServiceImpl

      applicationContext.xml
      <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
      <property name="locations">
      <list> <value>classpath:config.properties</value> </list>
      </property>
      </bean>
      <bean class="${helloworld.service}" scope="singleton"/>

      Where HelloWorldServiceImpl is a simple service class implementing an interface using jaxrs annotation.

      Show
      config.properties helloworld.service=test.resteasy.services.server.impl.HelloWorldServiceImpl applicationContext.xml <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value>classpath:config.properties</value> </list> </property> </bean> <bean class="${helloworld.service}" scope="singleton"/> Where HelloWorldServiceImpl is a simple service class implementing an interface using jaxrs annotation.

    Description

      Hello,

      In our project we had to upgrade to JDK8 and so to Spring 4.
      In the earlier issue https://issues.jboss.org/browse/RESTEASY-1012 it'seems that Spring4 should be integrated properly from the 3.0.9.Final resteasy version.
      Actually it's nearly doing a perfect Job except for a tiny Spring functionnality wich allow us to define beans with class resolve by the property PropertyPlaceholderConfigurer. @see http://docs.spring.io/spring/docs/4.1.7.RELEASE/spring-framework-reference/htmlsingle/#beans-factory-placeholderconfigurer

      This was working before we upgrade with Spring 3.0.5 et RESTEasy 1.2.1.GA

      Attachments

        Activity

          People

            pjurak Petr Jurak (Inactive)
            joandavid Joan DAVID (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: