You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "wangfeng (JIRA)" <tu...@ws.apache.org> on 2007/08/03 03:19:52 UTC
[jira] Commented: (TUSCANY-1492) Support implemental class not only
interface when get a service
[ https://issues.apache.org/jira/browse/TUSCANY-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517421 ]
wangfeng commented on TUSCANY-1492:
-----------------------------------
Thank Raymond for applying the patch.
> Support implemental class not only interface when get a service
> ---------------------------------------------------------------
>
> Key: TUSCANY-1492
> URL: https://issues.apache.org/jira/browse/TUSCANY-1492
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-0.91
> Environment: JDK1.5.09,winXP
> Reporter: wangfeng
> Priority: Minor
> Fix For: Java-SCA-0.91
>
> Attachments: patch.txt, TestCase_Calculator.zip
>
>
> when we get a service,we always generate a proxy on the service by using the jdk proxy class, so we must provide a interface to get a service.
> I provide a patch to remove the control. This patch not only support the interface,but also support the implemental class when getting a service.when the class isn't a interface,using the cglib to generate a proxy and using jdk proxy when the class is a interface.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org