diff -r 4b2c8bedb094 -r 15d14b110240 org/sonews/daemon/CommandSelector.java --- a/org/sonews/daemon/CommandSelector.java Mon Aug 24 14:40:37 2009 +0200 +++ b/org/sonews/daemon/CommandSelector.java Sat May 01 14:27:30 2010 +0200 @@ -20,6 +20,7 @@ import java.util.HashMap; import java.util.Map; +import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.sonews.daemon.command.Command; import org.sonews.daemon.command.UnsupportedCommand; @@ -81,6 +82,11 @@ } } + public static Set getCommandNames() + { + return commandClassesMapping.keySet(); + } + public static CommandSelector getInstance() { CommandSelector csel = instances.get(Thread.currentThread());