Projects tigase _server server-core Issues #626
Add support for inheritance in EventBus (#626)
Andrzej Wójcik (Tigase) opened 9 years ago

Right now we have class A implementing interface Event and class B extending class A

class A implements Event { }
class B extends A {}

then if we register and event handler to handle event A but we fire event of class B then this handler will not be fired. I think it would be useful to fire also handlers of class A as in this case we would be able to use inheritance to create base Event classes and listen for this events which would be very useful.

Andrzej Wójcik (Tigase) commented 9 years ago

%bmalkow - correct my estimate if you disagree

Bartosz Małkowski commented 9 years ago

Implemented within #3802

Andrzej Wójcik (Tigase) commented 9 years ago

All works as expected.

issue 1 of 1
Type
Task
Priority
Normal
Assignee
RedmineID
3805
Version
tigase-server-8.0.0
Estimation
6h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#626
Please wait...
Page is in error, reload to recover