RemoteEventService maybe needs and list listeners

12 views
Skip to first unread message

sasajovancic

unread,
Feb 19, 2010, 4:46:18 AM2/19/10
to GWTEventService
Hi

We use on our project work on project your library and it serve us
well. You really done amazing job.
We started to use just for one or two features and now almost every
our use case works with event service.

One problem that we run in to is that we start to add listeners maybe
more then we need.

Is there a way to find is there a listener already in added in
RemoteEventService and is it active, or to find list of all listeners
in system or listeners for one domain.

Regards, Sasa.

sven.s

unread,
Feb 20, 2010, 11:29:55 AM2/20/10
to GWTEventService
Hi,

yes, that could make sense. Thank you for your suggestion. Two new
methods will be implemented for version 1.1:
+ RemoteEventService#getActiveDomains() : Set<Domain>
+ RemoteEventService#getRegisteredListeners(Domain) :
List<RemoteEventListener>

Will that fulfill your requirement? A method to get all registered
listeners will not be implemented, because it is possible to get that
information with the two new methods.

The changes will be committed this weekend.

Regards,

Sven S.

Reply all
Reply to author
Forward
0 new messages