tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hasan Muhammad (JIRA)" <tuscany-...@ws.apache.org>
Subject [jira] Created: (TUSCANY-1215) Support of property override with recursive scdl files
Date Mon, 16 Apr 2007 15:34:15 GMT
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

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"/>
	  <binding.sca uri="MySimpleServiceAnother"/>
  <component name="MySimpleServiceInRecursiveAnother">
    <implementation.composite scdlLocation="mySimpleService.scdl"/>
    <property name="newLocation">Durham</property>
    <property name="newYear">2009</property>

We have the two properties newLocation and newYear defined in mySimpleService.scdl as follows:

    <service name="MyServiceNew1">
        <interface.java interface="mysca.test.myservice.MyService"/>
  <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"/>

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.


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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org

View raw message