jas.util
Class CommandTargetManager

java.lang.Object
  |
  +--jas.util.CommandTargetManager

public final class CommandTargetManager
extends java.lang.Object

A CommandTargetManager manages a set of CommandSources and a set of CommandProcessors, and figure out the wiring from the CommandSources to the CommandTargets within the CommandProcessors. The CommandProcessors can be dynamically added and removed from the CommandTargetManager, as sets of commands become available or not.


Constructor Summary
CommandTargetManager()
           
 
Method Summary
 void add(CommandProcessor processor)
           
 void add(CommandSource source)
           
 void remove(CommandProcessor processor)
           
 void remove(CommandSource source)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandTargetManager

public CommandTargetManager()
Method Detail

add

public void add(CommandProcessor processor)

remove

public void remove(CommandProcessor processor)

add

public void add(CommandSource source)

remove

public void remove(CommandSource source)

start

public void start()