identityManager = new IdentityManager(webOfTrustConnector);
identityManager.setContext("Sone");
- /* create the web interface. */
- webInterface = new WebInterface(this);
-
/* create core. */
core = new Core(configuration, freenetInterface, identityManager);
+ /* create the web interface. */
+ webInterface = new WebInterface(this);
+ core.addCoreListener(webInterface);
+
/* create the identity manager. */
identityManager.addIdentityListener(core);