You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Scott Kurz (JIRA)" <de...@tuscany.apache.org> on 2009/04/30 19:57:30 UTC

[jira] Updated: (TUSCANY-3000) Turn databinding Mediator into a utility registered with UtilityExtensionPoint

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

Scott Kurz updated TUSCANY-3000:
--------------------------------

    Attachment: 3000.faultTransformHelper.idea.txt

Here's something like what I had in mind (though this obviously doesn't use Mediator via an extension point).

> Turn databinding Mediator into a utility registered with UtilityExtensionPoint
> ------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3000
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3000
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Data Binding Runtime
>    Affects Versions: Java-SCA-1.5
>            Reporter: Raymond Feng
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-1.5
>
>         Attachments: 3000.faultTransformHelper.idea.txt
>
>
> The MediatorImpl is used to create instances of Mediator which prevents the extension registry to be passed. Register it as a utility will hide the impl class and make it pluggable. Furthermore, it can gets other extension points from the runtime.

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


Re: [jira] Updated: (TUSCANY-3000) Turn databinding Mediator into a utility registered with UtilityExtensionPoint

Posted by Raymond Feng <en...@gmail.com>.
Hi, Scott.

It's a good idea. Thanks for the patch. I went ahead to refactor most of the 
logic from DataTransformationInterceptor and PassByValueInterceptor into the 
Mediator utility. It now provides all the functions such as transforming the 
input/out/fault data between source and target operations, copying data for 
PBV.

The changes are checked in under r770532. We could further enhance the 
binding extensions to leverage the Mediator utility if necessary.

Raymond

--------------------------------------------------
From: "Scott Kurz (JIRA)" <de...@tuscany.apache.org>
Sent: Thursday, April 30, 2009 10:57 AM
To: <de...@tuscany.apache.org>
Subject: [jira] Updated: (TUSCANY-3000) Turn databinding Mediator into a 
utility registered with UtilityExtensionPoint

>
>     [ 
> https://issues.apache.org/jira/browse/TUSCANY-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Scott Kurz updated TUSCANY-3000:
> --------------------------------
>
>    Attachment: 3000.faultTransformHelper.idea.txt
>
> Here's something like what I had in mind (though this obviously doesn't 
> use Mediator via an extension point).
>
>> Turn databinding Mediator into a utility registered with 
>> UtilityExtensionPoint
>> ------------------------------------------------------------------------------
>>
>>                 Key: TUSCANY-3000
>>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3000
>>             Project: Tuscany
>>          Issue Type: Improvement
>>          Components: Java SCA Data Binding Runtime
>>    Affects Versions: Java-SCA-1.5
>>            Reporter: Raymond Feng
>>            Assignee: Raymond Feng
>>             Fix For: Java-SCA-1.5
>>
>>         Attachments: 3000.faultTransformHelper.idea.txt
>>
>>
>> The MediatorImpl is used to create instances of Mediator which prevents 
>> the extension registry to be passed. Register it as a utility will hide 
>> the impl class and make it pluggable. Furthermore, it can gets other 
>> extension points from the runtime.
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>