[ http://issues.apache.org/jira/browse/TUSCANY-684?page=all ]
Kelvin Goodson resolved TUSCANY-684.
------------------------------------
Resolution: Fixed
added register(HelperContext scope) method to generated Factory instance --
also added an introspectable pattern version to the Factory implementation, and
commentary to the generated classes on the options that were used to generate
the classes.
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]