From 373b2e1797186965bf754410dd3fadff78e9d616 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 16 May 2008 16:14:38 +0000 Subject: [PATCH] add node manager to project manager git-svn-id: http://trooper/svn/projects/jSite/trunk@903 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/jsite/main/Main.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/net/pterodactylus/jsite/main/Main.java b/src/net/pterodactylus/jsite/main/Main.java index be543eb..0c157a8 100644 --- a/src/net/pterodactylus/jsite/main/Main.java +++ b/src/net/pterodactylus/jsite/main/Main.java @@ -56,13 +56,14 @@ public class Main { String configDirectory = System.getProperty("user.home") + File.separator + ".jSite"; - ProjectManager projectManager = new ProjectManager(configDirectory); - core.setProjectManager(projectManager); - NodeManager nodeManager = new NodeManager("jSite-" + Version.getVersion(), configDirectory); core.setNodeManager(nodeManager); nodeManager.addNodeListener(core); + ProjectManager projectManager = new ProjectManager(configDirectory); + core.setProjectManager(projectManager); + projectManager.setNodeManager(nodeManager); + RequestManager requestManager = new RequestManager(); core.setRequestManager(requestManager); nodeManager.addNodeListener(requestManager); -- 2.7.4