Package com.aspectran.daemon.command
Class CommandRegistry
- java.lang.Object
-
- com.aspectran.daemon.command.CommandRegistry
-
public class CommandRegistry extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandRegistry(Daemon daemon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCommand(java.lang.Class<? extends Command> commandClass)
void
addCommand(java.lang.String... classNames)
java.util.Collection<Command>
getAllCommands()
Command
getCommand(java.lang.String commandName)
Daemon
getDaemon()
-
-
-
Constructor Detail
-
CommandRegistry
public CommandRegistry(Daemon daemon)
-
-
Method Detail
-
getDaemon
public Daemon getDaemon()
-
getCommand
public Command getCommand(java.lang.String commandName)
-
addCommand
public void addCommand(java.lang.String... classNames)
-
addCommand
public void addCommand(java.lang.Class<? extends Command> commandClass)
-
getAllCommands
public java.util.Collection<Command> getAllCommands()
-
-