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)" <dev@tuscany.apache.org>
Sent: Thursday, April 30, 2009 10:57 AM
To: <dev@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.

Reply via email to