ServiceListener without objectClass
-----------------------------------

                 Key: CXF-2580
                 URL: https://issues.apache.org/jira/browse/CXF-2580
             Project: CXF
          Issue Type: New Feature
          Components: Distributed-OSGi
    Affects Versions: dOSGi-1.1
         Environment: felix-2.0.1
            Reporter: Alexander Broekhuis


Remote service endpoints are created using the CxfFindListenerHook if a 
listener is added with a filter on a service classname. Currently in the 
CxfFindListenerHook there is a check to see if objectClass is filled in. If 
this is not the case, the discovery is not accessed to look for remote 
services. If a listener is added to get a remote service based only on other 
properties, no endpoints are created.

As a side note when a listener is added with a filter on service.imported=true:
The imported property is only set on the imported proxy registration, and not 
part of the actual remote service. So it isn't published in discovery. In this 
case the service listener could be notified of all remote services found in the 
discovery.

See 
http://old.nabble.com/-DOSGI--ServiceListener-without-objectClass-td26739822.html
 for the thread on the mailing list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to