public class ExternalizableStrategyCommandListener extends Object implements CommandListener
ServiceContainer's CommandPreprocessor and will
set the ExternalizableStratagy for the command processing thread. This ensures that the proper strategy is applied to
the Return value serialization.| Constructor and Description |
|---|
ExternalizableStrategyCommandListener(org.rhq.core.domain.server.ExternalizableStrategy.Subsystem defaultSubsystem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
processedCommand(Command command,
CommandResponse response)
This is called for every command that finished.
|
void |
receivedCommand(Command command)
This will be called for every command coming in.
|
public ExternalizableStrategyCommandListener(org.rhq.core.domain.server.ExternalizableStrategy.Subsystem defaultSubsystem)
public void receivedCommand(Command command)
receivedCommand in interface CommandListenerCommandListener.receivedCommand(Command)public void processedCommand(Command command, CommandResponse response)
processedCommand in interface CommandListenerCommandListener.processedCommand(Command, CommandResponse)Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.