[YANGTOOLS-1551] Remove references to java.util.EventListener Created: 07/Dec/23  Updated: 08/Dec/23  Resolved: 08/Dec/23

Status: Resolved
Project: yangtools
Component/s: common, model-api, parser
Affects Version/s: None
Fix Version/s: 12.0.0

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks YANGTOOLS-1552 Remove ListenerRegistration Confirmed

 Description   

j.u.EventListener should really be tied to j.u.EventObject, which is useful for our purposes. First of all it does not really specify a contract. Second of all EventObject is a serializable class which means it cannot be an interface.

Eliminate all references to j.u.EventListener, so that we do not imply it. This impacts concepts.ListenerRegistration the most, as without EventListener it loses any semantic distinction from concepts.ObjectRegistration. Therefore ListenerRegistration should be kept as is and be deprecated for removal instead.

While at it, also remove Registration specializations which do not bring anything to the table.


Generated at Wed Feb 07 20:56:29 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.