[ 
https://issues.apache.org/jira/browse/TUSCANY-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Venkatakrishnan reassigned TUSCANY-1215:
----------------------------------------

    Assignee: Venkatakrishnan

> Support of property override with recursive scdl files
> ------------------------------------------------------
>
>                 Key: TUSCANY-1215
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1215
>             Project: Tuscany
>          Issue Type: Improvement
>    Affects Versions: Java-SCA-M2
>         Environment: All
>            Reporter: Hasan Muhammad
>         Assigned To: Venkatakrishnan
>
> We were trying this scenario out where we have a section in the default scdl 
> as follows:
>     <service name="MySimpleServiceAnother">
>         <interface.java interface="mysca.test.myservice.MyService"/>
>         
> <reference>MySimpleServiceInRecursiveAnother/MyServiceNew1</reference>        
>    
>         <binding.sca uri="MySimpleServiceAnother"/>
>     </service>
>   <component name="MySimpleServiceInRecursiveAnother">
>     <implementation.composite scdlLocation="mySimpleService.scdl"/>
>     <property name="newLocation">Durham</property>
>     <property name="newYear">2009</property>
>   </component>
> We have the two properties newLocation and newYear defined in 
> mySimpleService.scdl as follows:
>     <service name="MyServiceNew1">
>         <interface.java interface="mysca.test.myservice.MyService"/>
>         <reference>MyServiceComponentNew/MyService</reference>           
>     </service>
>   <property name="newLocation" type="xs:anyURI">Raleigh</property>
>   <property name="newYear" type="xs:anyURI">2008</property>
>     <component name="MyServiceComponentNew">
>         <implementation.java class="mysca.test.myservice.impl.MyServiceImpl"/>
>               <property name="location" source="$newLocation"/>
>               <property name="year" source="$newYear"/>
>     </component>
> When we try to get the property of  location through MySimpleServiceAnother, 
> it gives back the value "Raleigh". It should give "Durham", In other words 
> during runtime, the original value must be overwritten with the new one that 
> we provided in the default.scdl under the component 
> "MySimpleServiceInRecursiveAnother". This feature of property override needs 
> to be supported.
> Hasan

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to