(@NotNull String account, @NotNull String clientId, @NotNull String key, @NotNull Bean bean)
| 348 | } |
| 349 | |
| 350 | public void setLocalBean(@NotNull String account, @NotNull String clientId, @NotNull String key, @NotNull Bean bean) { |
| 351 | var login = getLoginLocal(account, clientId); |
| 352 | var bAny = new BAny(); |
| 353 | bAny.getAny().setBean(bean); |
| 354 | login.getDatas().put(key, bAny); |
| 355 | if (HotManager.isHotModule(bean.getClass().getClassLoader())) { |
| 356 | var hotModule = (HotModule)bean.getClass().getClassLoader(); |
| 357 | Transaction.whileCommit(() -> { |
| 358 | hotModule.stopEvents.add(this::onHotModuleStop); |
| 359 | hotModulesHaveLocal.add(hotModule); |
| 360 | }); |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | public void removeLocalBean(@NotNull String account, @NotNull String clientId, @NotNull String key) { |
| 365 | var bLocals = _tlocal.get(account); |
no test coverage detected