}
/** The version. */
- public static final Version VERSION = new Version("RC1", 0, 2);
+ public static final Version VERSION = new Version(0, 2, 3);
/** The logger. */
private static final Logger logger = Logging.getLogger(SonePlugin.class);
/* create a configuration. */
Configuration configuration;
try {
- configuration = new Configuration(new PluginStoreConfigurationBackend(pluginStore = pluginRespirator.getStore()));
+ configuration = new Configuration(new PluginStoreConfigurationBackend(pluginRespirator));
} catch (DatabaseDisabledException dde1) {
logger.log(Level.WARNING, "Could not load plugin store, using XML files.");
try {
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);