You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Bob Scheifler (JIRA)" <ji...@apache.org> on 2007/07/30 18:55:52 UTC

[jira] Created: (RIVER-152) Allow ServiceRegistrar.notify() to match any service type in the template

Allow ServiceRegistrar.notify() to match any service type in the template
-------------------------------------------------------------------------

                 Key: RIVER-152
                 URL: https://issues.apache.org/jira/browse/RIVER-152
             Project: River
          Issue Type: New Feature
          Components: net_jini_lookup
    Affects Versions: jtsk_1.1
            Reporter: Bob Scheifler
            Priority: Minor


Bugtraq ID [4488356|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4488356]

The method currently registers the RemoteEventListener to receive service
events about services that are instances of ALL of the Classes in the
ServiceTemplate's Class array.   While this is sometimes useful, we would like a
way to cause the notify method to register the listener to receive events about
services that are instances of ANY of the types in the Class array.

Evaluation

We aren't going to change the ServiceRegistrar interface. This functionality could be provided in a subinterface of ServiceRegistrar if desired, but our team does not see sufficient need for this right now to drive a new standards effort.

-----

Investigating for Porter.

michael.warres@sun.com 2004-04-05

WorkAround

maintain a list of service templates, each containing only one Class and call
notify() on them all


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