conveniance modification: added registry and getters for modules to BaseHandler

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-08-17 23:31:06 +02:00
parent ecb1ddac0f
commit a50a451b95
21 changed files with 260 additions and 198 deletions

View File

@@ -80,7 +80,7 @@ public class Application {
new ProjectLegacy(registry,config).bindPath("/legacy/project").on(server);
new TaskModule(registry, config).bindPath("/api/task").on(server);
new TimeModule(registry, config).bindPath("/api/times").on(server);
new WebHandler().bindPath("/").on(server);
new WebHandler(registry).bindPath("/").on(server);
server.setExecutor(Executors.newFixedThreadPool(threads));
server.start();