-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-18198 Ch.Part.API: Restructure registrar init (#2015)
The Registrar now operates either with or without a system channel. This creates two distinct (but slightly overlapping) initialization flows. Here we restructure the Registrar initialization such that it is clear which methods are common to both flows, and which methods belong to the flow with or without the system channel. For example, the current `initAppChannels` is split in two: - initAppChannelsWithSystemChannel(), which assume the system channel exists, and - initAppChannels(), which assumes the system channel does not exist. This simplifies the code and makes it more readable, and tries to be considerate of the fact that hopefully we'll be able to remove the system channel related code (after the system channel functionality is deprecated) so isolating it helps us later down the line. Signed-off-by: Yoav Tock <tock@il.ibm.com> Change-Id: I21b2e495745fec0859e2af998019b0a496e977e6
- Loading branch information
Showing
1 changed file
with
71 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters