[YANGTOOLS-84] Fix org.opendaylight.yangtools.concepts.Registration Created: 19/Feb/14  Updated: 10/Apr/22  Resolved: 29/Jul/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

The concept of Registration is currently tied to a particular object – as it is recognized by its abstract implenentation which is called AbstractObjectRegistration.

We need to remove the getInstance() method to make the concept reusable in all situations. Unfortunately this requires synchronizing with users of our APIs.

Cautious plan of record:
1) 0.6.2: introduce ObjectRegistration, which simply inherits from Registration
2) 0.6.3: remove Registration completely, such that only ObjectRegistration exists
3) 0.6.4: reintroduce Registration without the getInstance() method

But we may want to accelerate the process, as the generic Registration would be very useful in the BGPCEP project.



 Comments   
Comment by Robert Varga [ 27/Jul/14 ]

https://git.opendaylight.org/gerrit/9362
https://git.opendaylight.org/gerrit/9363

Comment by Michal Rehak [ 28/Jul/14 ]

https://git.opendaylight.org/gerrit/#/c/9389

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