[ 
https://issues.apache.org/jira/browse/DOSGI-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider closed DOSGI-94.
------------------------------------

    
> Enhancement to deal with registered services that might have been proxied 
> (eg. CGLIB proxies).
> ----------------------------------------------------------------------------------------------
>
>                 Key: DOSGI-94
>                 URL: https://issues.apache.org/jira/browse/DOSGI-94
>             Project: CXF Distributed OSGi
>          Issue Type: Improvement
>          Components: DSW
>    Affects Versions: 1.2, 1.3
>         Environment: Felix 3.2.0 + Apache Aries blueprint + CXF Dosgi
>            Reporter: Ivanhoe Abrahams
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: ClassUtils.java, ClassUtilsTest.java
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> In my local environment I use Apache Aries and now also added CXF DOSGI.
> I noticed that the greeter example works fine but my own services, which are 
> registered by aries blueprint 
> did not get exported by CXF DOSGI.
> I think blueprint enhances the original services by weaving in a new class 
> which has as superclass the original, which then causes problems for 
> cxf-dosgi.
> The class ClassUtils in dsw is where the enhancement can take place. This 
> class checks the provided service class to see if it implements the 
> registered interface, but if this service class itself is a proxy to the real 
> service class the it always returns null.
> The fix for this is simply to recurse up all superclasses and test each 
> superclass to see if it implements said interface. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to