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:32:30 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12704719#action_12704719 ] 

Scott Kurz commented on TUSCANY-3000:
-------------------------------------

Raymond, what would you think about factoring out the fault transform code in DataTransformationInterceptor into some sort of utility as well?  

Something like:

   FaultTransformHelper {
      public Object transformFault(Object result, Operation sourceOperation, Operation targetOperation, Map<String, Object> metadata)

It seems likely that someone using the mediator as a utility would have to write the exact same logic as the DTI uses to map faults.  

I could post an example of what I mean... 

(Or maybe this is bad form to pile on in this JIRA).

Thx,
Scott




> 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
>
>
> 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.