You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Aede van der Weij (JIRA)" <ji...@apache.org> on 2017/04/19 12:55:41 UTC
[jira] [Created] (ARIES-1717) Untie Aries Blueprint Spring
(extender) to specific Spring version
Aede van der Weij created ARIES-1717:
----------------------------------------
Summary: Untie Aries Blueprint Spring (extender) to specific Spring version
Key: ARIES-1717
URL: https://issues.apache.org/jira/browse/ARIES-1717
Project: Aries
Issue Type: Improvement
Components: Blueprint
Affects Versions: blueprint-spring-extender-0.1.0, blueprint-spring-0.3.0
Reporter: Aede van der Weij
Priority: Critical
We want to reduce the usage of Spring and replace Spring DM in favor of Aries Blueprint. The blueprint-spring and blueprint-spring-extender bundles could be used to achieve this rather easily.
We're stuck with Spring 3.x version and this does not play well with the earlier mention blueprint bundles. The following problems are encountered:
- when the temp blueprint configuration files are created from the Spring beans, the xsd version is set to 4.2 (which are not present because we're using a different version)
- when creating a Spring ParserContext XmlBeanDefinitionReader.createReaderContext is called but this is protected in Spring 3.x and results in NoSuchMethodError.
A patch is attached that solves these problems. For the xsd version a lookup is executed and the version is resolved at run time. The other problem is solved by creating a private inner class that extends XmlBeanDefinitionReader and makes createReaderContext available that simply delegates the call to its super class (XmlBeanDefinitionReader)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)