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

[jira] Commented: (TUSCANY-516) Annotating generated SDO Types for the associated 'Factory' and 'Package' generated classes

    [ http://issues.apache.org/jira/browse/TUSCANY-516?page=comments#action_12419389 ] 

Frank Budinsky commented on TUSCANY-516:
----------------------------------------

I'm not sure I understand this request. Please provide more details and an example. Thanks.

> Annotating generated SDO Types for the associated 'Factory' and 'Package' generated classes
> -------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-516
>          URL: http://issues.apache.org/jira/browse/TUSCANY-516
>      Project: Tuscany
>         Type: Sub-task

>   Components: Java SDO Tools
>     Versions: Java-Mx
>     Reporter: Venkatakrishnan

>
>  The SDO needs to be instantiated to obtain a more reliable information about it type using the 'getType' method. To minimize user inputs in aid of this instantiation, it would be good to have an annotation added to the generated SDO, pointing to the Factory class for the SDO.  
> Work Around : Currently, the protected constructor of the input SDO class is invoked using Java Reflection APIs.  This is not an ok approach as we break the access and then invoke the constructor.  Also, if the input is the SDO Type Interface then this work around will fail.
> If having the Factory class information sound ok, then we could also have the Package class information.  I am sure we are going to need this somewhere down the line.

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