()
| 336 | } |
| 337 | |
| 338 | public void start() { |
| 339 | // default online 负责启动所有的online set。 |
| 340 | if (defaultInstance == this) { |
| 341 | providerApp.builtinModules.put(this.getFullName(), this); |
| 342 | getProviderWithOnline().foreachOnline(online -> { |
| 343 | if (online != this) |
| 344 | online.start(); |
| 345 | }); |
| 346 | } |
| 347 | startLocalCheck(); |
| 348 | var hotManager = providerApp.zeze.getHotManager(); |
| 349 | if (hotManager != null) { |
| 350 | hotManager.addHotUpgrade(this); |
| 351 | hotManager.addHotBeanFactory(this); |
| 352 | beanFactory.registerWatch(this::tryRecordHotModule); |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | private boolean processOffline(Long roleId, @NotNull BLocal local, boolean serverStart) { |
| 357 | providerApp.zeze.newProcedure(() -> procedureOffline(roleId, local, serverStart), "procedureOffline").call(); |
nothing calls this directly
no test coverage detected