From 2c8c3b5fc87f68be2f295d62d87df3e009ffd2fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 24 May 2008 23:05:09 +0200 Subject: [PATCH] expose thread pool --- src/net/pterodactylus/jsite/gui/SwingInterface.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/net/pterodactylus/jsite/gui/SwingInterface.java b/src/net/pterodactylus/jsite/gui/SwingInterface.java index d77920b..c79c37d 100644 --- a/src/net/pterodactylus/jsite/gui/SwingInterface.java +++ b/src/net/pterodactylus/jsite/gui/SwingInterface.java @@ -348,6 +348,15 @@ public class SwingInterface implements CoreListener, LoggingListener, PropertyCh return nodeList; } + /** + * Returns the thread pool used for off-thread processes. + * + * @return The thread pool + */ + Executor getThreadPool() { + return threadPool; + } + // // ACTIONS // -- 2.7.4