[ http://issues.apache.org/jira/browse/TUSCANY-516?page=all ]
Frank Budinsky resolved TUSCANY-516.
------------------------------------
Resolution: Invalid
You should use TypeHelper to get the Type.
> 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
> Issue Type: Sub-task
> Components: Java SDO Tools
> Affects 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]