org.rhq.enterprise.communications.command.client
Interface CommandPreprocessor


public interface CommandPreprocessor

This interface allows implementors to preprocess a command before it is queued and sent. The main purpose of this is to allow a preprocessor to add things like out-of-band metadata to the command's configuration.

Author:
John Mazzitelli

Method Summary
 void preprocess(Command command, ClientCommandSender sender)
          This method provides the hook for a command preprocessor to manipulate a command (such as add things to its configuration.
 

Method Detail

preprocess

void preprocess(Command command,
                ClientCommandSender sender)
This method provides the hook for a command preprocessor to manipulate a command (such as add things to its configuration.

Parameters:
command - the command to preprocess
sender - the sender object that is going to queue and send the command


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.