Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.x
-
None
-
Windows XP, IBM JDK 1.5
-
Patch Available
Description
Currently Tuscany Spring Implementation does not seem to support the <custructor-arg/> element in the application context XML file.
Here the issue is, Tuscany fails to identify this tag and ignores the configuration done from these tags.
Spring uses <constructor-arg> element for the following configuration.....
<bean id="beanRefFactory" class="org.springframework.
context.support.ClassPathXmlApplicationContext">
<constructor-arg><list>
<value>Organization-spring-context.xml</value>
</list></constructor-arg>
</bean>
In this instance, it tries to load the SCA aware Spring application context using ClassPathXmlApplicationContext.
<bean id="orderService" class="com.lizjason.spring.OrderService">
<property name="companyName">
<value>lizjason</value>
</property>
<constructor-arg>
<ref bean="orderDAO">
</constructor-arg>
</bean>
In this instance, it tries to reference a bean from the constructor argument.
Attachments
Attachments
Issue Links
- is cloned by
-
TUSCANY-3552 CLONE -Support for <constructor-arg> element in Spring Implementation
- Open