Expose the database.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 15 Oct 2013 05:01:26 +0000 (07:01 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 28 Feb 2014 21:25:26 +0000 (22:25 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index e755414..b035d58 100644 (file)
@@ -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.
         *