CommandEventMulticaster@Immutable @Deprecated public class CommandListenerMulticaster extends java.lang.Object implements CommandListener
| 构造器和说明 |
|---|
CommandListenerMulticaster(java.util.List<CommandListener> commandListeners)
已过时。
Construct an instance with the given list of command listeners
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
commandFailed(CommandFailedEvent event)
已过时。
Listener for command failure events
|
void |
commandStarted(CommandStartedEvent event)
已过时。
Listener for command started events.
|
void |
commandSucceeded(CommandSucceededEvent event)
已过时。
Listener for command completed events
|
java.util.List<CommandListener> |
getCommandListeners()
已过时。
Gets the command listeners.
|
public CommandListenerMulticaster(java.util.List<CommandListener> commandListeners)
commandListeners - the non-null list of command listeners, none of which may be nullpublic java.util.List<CommandListener> getCommandListeners()
public void commandStarted(CommandStartedEvent event)
CommandListenercommandStarted 在接口中 CommandListenerevent - the eventpublic void commandSucceeded(CommandSucceededEvent event)
CommandListenercommandSucceeded 在接口中 CommandListenerevent - the eventpublic void commandFailed(CommandFailedEvent event)
CommandListenercommandFailed 在接口中 CommandListenerevent - the event