Cleaned-up dead code from flow objective manager.
Change-Id: I23b18eacc4eb438f49534bd928307de98eaaaf80
Showing
1 changed file
with
0 additions
and
26 deletions
| ... | @@ -142,32 +142,6 @@ public class FlowObjectiveManager implements FlowObjectiveService { | ... | @@ -142,32 +142,6 @@ public class FlowObjectiveManager implements FlowObjectiveService { |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | /** | 144 | /** |
| 145 | - * Hook for binding the optional default driver providers. | ||
| 146 | - * | ||
| 147 | - * @param service arriving default driver provider service | ||
| 148 | - */ | ||
| 149 | - // Note: For now disabled until we can move to OPTIONAL_UNARY dependency | ||
| 150 | - protected void xbindDefaultDriverService(DefaultDriverProviderService service) { | ||
| 151 | - log.info("Detected default drivers... going active"); | ||
| 152 | - defaultDriverService = service; | ||
| 153 | - deviceService.getDevices().forEach(device -> setupPipelineHandler(device.id())); | ||
| 154 | - } | ||
| 155 | - | ||
| 156 | - /** | ||
| 157 | - * Hook for unbinding the optional default driver providers. | ||
| 158 | - * | ||
| 159 | - * @param service departing default driver provider service | ||
| 160 | - */ | ||
| 161 | - // Note: For now disabled until we can move to OPTIONAL_UNARY dependency | ||
| 162 | - protected void xunbindDefaultDriverService(DefaultDriverProviderService service) { | ||
| 163 | - log.info("Lost default drivers... going dormant"); | ||
| 164 | - defaultDriverService = null; | ||
| 165 | - pipeliners.clear(); | ||
| 166 | - driverHandlers.clear(); | ||
| 167 | - } | ||
| 168 | - | ||
| 169 | - | ||
| 170 | - /** | ||
| 171 | * Task that passes the flow objective down to the driver. The task will | 145 | * Task that passes the flow objective down to the driver. The task will |
| 172 | * make a few attempts to find the appropriate driver, then eventually give | 146 | * make a few attempts to find the appropriate driver, then eventually give |
| 173 | * up and report an error if no suitable driver could be found. | 147 | * up and report an error if no suitable driver could be found. | ... | ... |
-
Please register or login to post a comment