You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey (JIRA)" <ji...@apache.org> on 2009/07/10 19:29:14 UTC
[jira] Created: (CXF-2337)
org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should
search through super class interfaces too
org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should search through super class interfaces too
---------------------------------------------------------------------------------------------------------------
Key: CXF-2337
URL: https://issues.apache.org/jira/browse/CXF-2337
Project: CXF
Issue Type: Bug
Components: Distributed-OSGi
Affects Versions: 2.2.1
Environment: any
Reporter: Sergey
Priority: Minor
ServiceHookUtils won't publish OSGi service if service interface implemented by super class. For example, java.util.ArrayList instance can be published as java.util.List service but not as java.util.Collections:
<osgi:service interface="java.util.Collection">
<osgi:service-properties>
<entry key="osgi.remote.interfaces" value="*"/>
<entry key="osgi.remote.configuration.type" value="pojo"/>
<entry key="osgi.remote.configuration.pojo.httpservice.context" value="/collection"/>
</osgi:service-properties>
<bean class="java.util.ArrayList"/>
</osgi:service>
<osgi:service interface="java.util.List">
<osgi:service-properties>
<entry key="osgi.remote.interfaces" value="*"/>
<entry key="osgi.remote.configuration.type" value="pojo"/>
<entry key="osgi.remote.configuration.pojo.httpservice.context" value="/list"/>
</osgi:service-properties>
<bean class="java.util.ArrayList"/>
</osgi:service>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CXF-2337)
org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should
search through super class interfaces too
Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert reassigned CXF-2337:
-------------------------------------
Assignee: David Bosschaert
> org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should search through super class interfaces too
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CXF-2337
> URL: https://issues.apache.org/jira/browse/CXF-2337
> Project: CXF
> Issue Type: Bug
> Components: Distributed-OSGi
> Affects Versions: 2.2.1
> Environment: any
> Reporter: Sergey Bokovikov
> Assignee: David Bosschaert
> Priority: Minor
>
> ServiceHookUtils won't publish OSGi service if service interface implemented by super class. For example, java.util.ArrayList instance can be published as java.util.List service but not as java.util.Collections:
> <osgi:service interface="java.util.Collection"> <!-- can't publish-->
> <osgi:service-properties>
> <entry key="osgi.remote.interfaces" value="*"/>
> <entry key="osgi.remote.configuration.type" value="pojo"/>
> <entry key="osgi.remote.configuration.pojo.httpservice.context" value="/collection"/>
> </osgi:service-properties>
> <bean class="java.util.ArrayList"/>
> </osgi:service>
> <osgi:service interface="java.util.List"> <!-- published ok-->
> <osgi:service-properties>
> <entry key="osgi.remote.interfaces" value="*"/>
> <entry key="osgi.remote.configuration.type" value="pojo"/>
> <entry key="osgi.remote.configuration.pojo.httpservice.context" value="/list"/>
> </osgi:service-properties>
> <bean class="java.util.ArrayList"/>
> </osgi:service>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-2337)
org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should
search through super class interfaces too
Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert resolved CXF-2337.
-----------------------------------
Resolution: Fixed
Fixes in r816138
> org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should search through super class interfaces too
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CXF-2337
> URL: https://issues.apache.org/jira/browse/CXF-2337
> Project: CXF
> Issue Type: Bug
> Components: Distributed-OSGi
> Affects Versions: 2.2.1
> Environment: any
> Reporter: Sergey Bokovikov
> Assignee: David Bosschaert
> Priority: Minor
>
> ServiceHookUtils won't publish OSGi service if service interface implemented by super class. For example, java.util.ArrayList instance can be published as java.util.List service but not as java.util.Collections:
> <osgi:service interface="java.util.Collection"> <!-- can't publish-->
> <osgi:service-properties>
> <entry key="osgi.remote.interfaces" value="*"/>
> <entry key="osgi.remote.configuration.type" value="pojo"/>
> <entry key="osgi.remote.configuration.pojo.httpservice.context" value="/collection"/>
> </osgi:service-properties>
> <bean class="java.util.ArrayList"/>
> </osgi:service>
> <osgi:service interface="java.util.List"> <!-- published ok-->
> <osgi:service-properties>
> <entry key="osgi.remote.interfaces" value="*"/>
> <entry key="osgi.remote.configuration.type" value="pojo"/>
> <entry key="osgi.remote.configuration.pojo.httpservice.context" value="/list"/>
> </osgi:service-properties>
> <bean class="java.util.ArrayList"/>
> </osgi:service>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DOSGI-24)
org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should
search through super class interfaces too
Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DOSGI-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert updated DOSGI-24:
----------------------------------
Fix Version/s: 1.2
> org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should search through super class interfaces too
> ---------------------------------------------------------------------------------------------------------------
>
> Key: DOSGI-24
> URL: https://issues.apache.org/jira/browse/DOSGI-24
> Project: CXF Distributed OSGi
> Issue Type: Bug
> Environment: any
> Reporter: Sergey Bokovikov
> Assignee: David Bosschaert
> Priority: Minor
> Fix For: 1.2
>
>
> ServiceHookUtils won't publish OSGi service if service interface implemented by super class. For example, java.util.ArrayList instance can be published as java.util.List service but not as java.util.Collections:
> <osgi:service interface="java.util.Collection"> <!-- can't publish-->
> <osgi:service-properties>
> <entry key="osgi.remote.interfaces" value="*"/>
> <entry key="osgi.remote.configuration.type" value="pojo"/>
> <entry key="osgi.remote.configuration.pojo.httpservice.context" value="/collection"/>
> </osgi:service-properties>
> <bean class="java.util.ArrayList"/>
> </osgi:service>
> <osgi:service interface="java.util.List"> <!-- published ok-->
> <osgi:service-properties>
> <entry key="osgi.remote.interfaces" value="*"/>
> <entry key="osgi.remote.configuration.type" value="pojo"/>
> <entry key="osgi.remote.configuration.pojo.httpservice.context" value="/list"/>
> </osgi:service-properties>
> <bean class="java.util.ArrayList"/>
> </osgi:service>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-2337)
org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should
search through super class interfaces too
Posted by "Sergey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey updated CXF-2337:
------------------------
Description:
ServiceHookUtils won't publish OSGi service if service interface implemented by super class. For example, java.util.ArrayList instance can be published as java.util.List service but not as java.util.Collections:
<osgi:service interface="java.util.Collection"> <!-- can't publish-->
<osgi:service-properties>
<entry key="osgi.remote.interfaces" value="*"/>
<entry key="osgi.remote.configuration.type" value="pojo"/>
<entry key="osgi.remote.configuration.pojo.httpservice.context" value="/collection"/>
</osgi:service-properties>
<bean class="java.util.ArrayList"/>
</osgi:service>
<osgi:service interface="java.util.List"> <!-- published ok-->
<osgi:service-properties>
<entry key="osgi.remote.interfaces" value="*"/>
<entry key="osgi.remote.configuration.type" value="pojo"/>
<entry key="osgi.remote.configuration.pojo.httpservice.context" value="/list"/>
</osgi:service-properties>
<bean class="java.util.ArrayList"/>
</osgi:service>
was:
ServiceHookUtils won't publish OSGi service if service interface implemented by super class. For example, java.util.ArrayList instance can be published as java.util.List service but not as java.util.Collections:
<osgi:service interface="java.util.Collection">
<osgi:service-properties>
<entry key="osgi.remote.interfaces" value="*"/>
<entry key="osgi.remote.configuration.type" value="pojo"/>
<entry key="osgi.remote.configuration.pojo.httpservice.context" value="/collection"/>
</osgi:service-properties>
<bean class="java.util.ArrayList"/>
</osgi:service>
<osgi:service interface="java.util.List">
<osgi:service-properties>
<entry key="osgi.remote.interfaces" value="*"/>
<entry key="osgi.remote.configuration.type" value="pojo"/>
<entry key="osgi.remote.configuration.pojo.httpservice.context" value="/list"/>
</osgi:service-properties>
<bean class="java.util.ArrayList"/>
</osgi:service>
> org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should search through super class interfaces too
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CXF-2337
> URL: https://issues.apache.org/jira/browse/CXF-2337
> Project: CXF
> Issue Type: Bug
> Components: Distributed-OSGi
> Affects Versions: 2.2.1
> Environment: any
> Reporter: Sergey
> Priority: Minor
>
> ServiceHookUtils won't publish OSGi service if service interface implemented by super class. For example, java.util.ArrayList instance can be published as java.util.List service but not as java.util.Collections:
> <osgi:service interface="java.util.Collection"> <!-- can't publish-->
> <osgi:service-properties>
> <entry key="osgi.remote.interfaces" value="*"/>
> <entry key="osgi.remote.configuration.type" value="pojo"/>
> <entry key="osgi.remote.configuration.pojo.httpservice.context" value="/collection"/>
> </osgi:service-properties>
> <bean class="java.util.ArrayList"/>
> </osgi:service>
> <osgi:service interface="java.util.List"> <!-- published ok-->
> <osgi:service-properties>
> <entry key="osgi.remote.interfaces" value="*"/>
> <entry key="osgi.remote.configuration.type" value="pojo"/>
> <entry key="osgi.remote.configuration.pojo.httpservice.context" value="/list"/>
> </osgi:service-properties>
> <bean class="java.util.ArrayList"/>
> </osgi:service>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.