[SWS-814] EndPointIntercepters do not respect the (Autowired) properties provided in beans XML Created: 04/Dec/12  Updated: 09/Apr/13  Resolved: 09/Apr/13

Status: Resolved
Project: Spring Web Services
Component/s: Core
Affects Version/s: 2.0.5, 2.1.1
Fix Version/s: 2.1.3

Type: Bug Priority: Major
Reporter: Pieter van der Meer Assignee: Arjen Poutsma
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows, IBM JDK, Tomee


Attachments: Text File sample.txt    

 Description   

Wehn defining a EndpointIntercepter with the <sws:interceptors>..</sws:interceptors>
Properties either added with a @Autowired annotation or added in the bean definition with <property... are not respected.

The instances of the interceptors each have a different instance of that property. Even when the property inserted is explicitly decorated with the singleton scope.

The attachment provides a snippet of the code.



 Comments   
Comment by Arjen Poutsma [ 09/Apr/13 ]

I wrote a test to reproduce this issue, but I cannot do so. See https://github.com/SpringSource/spring-ws/blob/master/core/src/test/java/org/springframework/ws/config/InterceptorsBeanDefinitionParserTest.java#L66

Generated at Wed Dec 13 03:20:12 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.