[ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512939 ]
Ron Gavlin commented on TUSCANY-1110: ------------------------------------- Now that all generated classes include the getStaticType() method, it seems pretty straightforward to implement the enhancement Frank suggested above: step 1) determine the class name from the provided Class. step 2) mangle the name to determine the impl class name (e.g., org.example.Foo -> org.example.impl.FooImpl) step 3) create an instance and then return instance.getStaticType() - Ron > Improve the performance of TypeHelperImpl.getType(Class) > -------------------------------------------------------- > > Key: TUSCANY-1110 > URL: https://issues.apache.org/jira/browse/TUSCANY-1110 > Project: Tuscany > Issue Type: Improvement > Components: Java SDO Implementation > Affects Versions: Java-SDO-Next > Reporter: Raymond Feng > Fix For: Java-SDO-Next > > > In the SDO databinding for SCA, we need to introspect a java class/interface > to figure out the corresponding SDO type. Looking into the code, there is a > TODO comment: > //TODO more efficient implementation ... this is a really bad one! > Do you plan to provide a more efficient impl :-)? > Thanks, > Raymond -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]