[ 
https://issues.apache.org/jira/browse/TUSCANY-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680110#action_12680110
 ] 

Ramkumar Ramalingam commented on TUSCANY-2642:
----------------------------------------------

The ideal solution here would be to create a ClassPathXmlApplicationContext 
using the given list of XML files.

Similarly Tuscany would create a FileSystemXmlApplicationContext using the 
given list of XML files, when the bean definition as shown below is used.

<bean id="beanRefFactory" 
class="org.springframework.context.support.FileSystemXmlApplicationContext">
<constructor-arg>
<list>
<value>META-INF/sca/context-multiple/CalculatorService-context.xml</value>
</list>
</constructor-arg>
    </bean>

In both this cases, we will be ignoring the traditional way of creating the 
GenericApplicationContext to support this scenario.


> Spring SCA Reference does not get resolved in multiple context scenario
> -----------------------------------------------------------------------
>
>                 Key: TUSCANY-2642
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2642
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Spring Implementation Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP SP2, IBM JDK 1.5
>            Reporter: Ramkumar Ramalingam
>            Assignee: Ramkumar Ramalingam
>             Fix For: Java-SCA-Next
>
>
> The SCA References in Spring Application Context does not get resolved in 
> case of using a multiple context scenario using 
>      <bean id="beanRefFactory" 
> class="org.springframework.context.support.ClassPathXmlApplicationContext">
>          <constructor-arg>
>                 <list>
>                        
> <value>META-INF/sca/context-multiple/CalculatorService-context.xml</value>
>                 </list>
>          </constructor-arg>
>     </bean>
> the references inside CalculatorService-context.xml does not get resolved 
> here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to