You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2006/12/04 18:22:25 UTC

[jira] Commented: (TUSCANY-684) Generated SDO classes should be able to register the static types to a given TypeHelper

    [ http://issues.apache.org/jira/browse/TUSCANY-684?page=comments#action_12455358 ] 
            
Kelvin Goodson commented on TUSCANY-684:
----------------------------------------

Capturing some more thoughts .....

Now that we have the HelperContext in place, it may be more appropriate to use this as the artifact for registering against,  rather than the TypeHelper.
When we are implementing the internals of this function it would be good to consider where the interface might sit in a future revision of the SDO spec.  I had an off-line conversation with Frank where he made the point that whilst TypeHelper might seem a natural place for it to sit, that's not good from the cross language perspective,  since this is a java centric piece of function,  so perhaps we should be thinking along the lines of a JavaHelperImpl that might surface as a JavaHelper in commonj.sdo after spec collaboration discussions.

> Generated SDO classes should be able to register the static types to a given TypeHelper
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-684
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-684
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SDO Implementation
>    Affects Versions: Java-M2
>            Reporter: Raymond Feng
>         Assigned To: Frank Budinsky
>             Fix For: Java-Mx
>
>
> In the generated SDO classes, static types are automatically registered into the EMF global registry. This behavior prevent us from keeping SDO types into different scopes defined by external schemes. 
> It would be nice that we can do somthing like:
> SDOUtil.registerStaticTypes(TypeHelper scope, Class factoryClass);
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org