(@NotNull AppBase app)
| 229 | } |
| 230 | |
| 231 | public void initialize(@NotNull AppBase app) { |
| 232 | lock(); |
| 233 | try { |
| 234 | appBase = app; |
| 235 | if (timer == null && !isNoDatabase() && redirect != null) |
| 236 | timer = Timer.create(app); |
| 237 | } finally { |
| 238 | unlock(); |
| 239 | } |
| 240 | } |
| 241 | |
| 242 | public boolean isNoDatabase() { |
| 243 | return conf.isNoDatabase() || conf.getServerId() < 0; |