From 988278af8e7c86e06247adbffe91e64e977aca0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 15 Oct 2013 07:01:26 +0200 Subject: [PATCH] Expose the database. --- src/main/java/net/pterodactylus/sone/core/Core.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index e755414..b035d58 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -291,6 +291,10 @@ public class Core extends AbstractService implements SoneProvider, PostProvider, this.fcpInterface = fcpInterface; } + public Database getDatabase() { + return database; + } + /** * Returns the Sone rescuer for the given local Sone. * -- 2.7.4