expose thread pool
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 24 May 2008 21:05:09 +0000 (23:05 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 24 May 2008 21:05:09 +0000 (23:05 +0200)
src/net/pterodactylus/jsite/gui/SwingInterface.java

index d77920b..c79c37d 100644 (file)
@@ -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
        //