| Modifier and Type | Method and Description |
|---|---|
protected abstract CommandType |
AbstractCommand.buildCommandType()
Builds the command type of this command.
|
CommandType |
Command.getCommandType()
Returns an object that identifies the type of command.
|
CommandType |
AbstractCommand.getCommandType() |
| Constructor and Description |
|---|
CommandType(CommandType original)
Copy constructor for
CommandType. |
| Modifier and Type | Method and Description |
|---|---|
CommandResponse |
CmdlineClient.issueCommand(CommandType commandType,
String locatorURI)
Convienence method that invokes a given command type on the remote server found at the given URI.
|
CommandResponse |
CmdlineClient.issueCommand(CommandType commandType,
String locatorURI,
Map<String,String> params)
Convienence method that invokes a given command type (with the given set of parameter values) on the remote
server found at the given URI.
|
| Modifier and Type | Field and Description |
|---|---|
static CommandType |
EchoCommand.COMMAND_TYPE
command type constant identifying this type of command
|
| Modifier and Type | Method and Description |
|---|---|
protected CommandType |
EchoCommand.buildCommandType() |
| Modifier and Type | Method and Description |
|---|---|
CommandType[] |
EchoCommandService.getSupportedCommandTypes()
Supports
EchoCommand.COMMAND_TYPE. |
| Modifier and Type | Method and Description |
|---|---|
protected CommandType |
GenericCommand.buildCommandType() |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericCommandClient.setCommandType(CommandType commandType)
Sets the command type to be used when this client creates new commands via the
GenericCommandClient.createNewCommand(Map)
method. |
void |
GenericCommand.setCommandType(CommandType newCommandType)
Allows the caller to modify this custom command's
type. |
| Constructor and Description |
|---|
GenericCommand(CommandType commandType,
ParameterDefinition[] paramDefs)
Specialized constructor for
GenericCommand that allows the instantiator to dynamically define this
generic commands metadata at runtime. |
| Modifier and Type | Field and Description |
|---|---|
static CommandType |
IdentifyCommand.COMMAND_TYPE
command type constant identifying this type of command
|
| Modifier and Type | Method and Description |
|---|---|
protected CommandType |
IdentifyCommand.buildCommandType() |
| Modifier and Type | Method and Description |
|---|---|
CommandType[] |
IdentifyCommandService.getSupportedCommandTypes()
Supports
IdentifyCommand.COMMAND_TYPE. |
| Modifier and Type | Field and Description |
|---|---|
static CommandType |
RemotePojoInvocationCommand.COMMAND_TYPE
command type constant identifying this type of command
|
| Modifier and Type | Method and Description |
|---|---|
protected CommandType |
RemotePojoInvocationCommand.buildCommandType() |
| Modifier and Type | Method and Description |
|---|---|
CommandType[] |
RemotePojoInvocationCommandService.getSupportedCommandTypes()
Supports
RemotePojoInvocationCommand.COMMAND_TYPE. |
| Modifier and Type | Field and Description |
|---|---|
static CommandType |
StartCommand.COMMAND_TYPE
command type constant identifying this command
|
| Modifier and Type | Method and Description |
|---|---|
protected CommandType |
StartCommand.buildCommandType() |
| Modifier and Type | Field and Description |
|---|---|
static CommandType |
RemoteOutputStreamCommand.COMMAND_TYPE
command type constant identifying this type of command
|
static CommandType |
RemoteInputStreamCommand.COMMAND_TYPE
command type constant identifying this type of command
|
| Modifier and Type | Method and Description |
|---|---|
protected CommandType |
RemoteOutputStreamCommand.buildCommandType() |
protected CommandType |
RemoteInputStreamCommand.buildCommandType() |
| Modifier and Type | Method and Description |
|---|---|
CommandType[] |
RemoteInputStreamCommandService.getSupportedCommandTypes()
Supports
remote input stream commands. |
CommandType[] |
RemoteOutputStreamCommandService.getSupportedCommandTypes()
Supports
remote output stream commands. |
| Modifier and Type | Field and Description |
|---|---|
CommandType |
MultipleCommandService.CommandTypeExecutor.m_type
the type of command this executor will handle
|
| Modifier and Type | Method and Description |
|---|---|
CommandType |
CommandServiceDirectoryEntry.getCommandType()
Returns the value of commandType.
|
CommandType[] |
MultipleCommandService.getSupportedCommandTypes()
Subclasses to this class do not override this method; instead, they need to implement
MultipleCommandService.getSupportedCommandTypeExecutors(). |
CommandType[] |
CommandServiceMBean.getSupportedCommandTypes()
Returns a set of
CommandType identifiers that this service supports. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<CommandType,MultipleCommandService.CommandTypeExecutor> |
MultipleCommandService.getExecutors()
Gets the set of executors whose map keys are the
command types and whose map values are
MultipleCommandService.CommandTypeExecutor objects. |
| Modifier and Type | Method and Description |
|---|---|
CommandServiceDirectoryEntry |
CommandServiceDirectoryMBean.getCommandTypeProvider(String subsystem,
CommandType commandType)
Given a particular
CommandType and subsystem, this method will return an entry that gives you the
ObjectName to a command service that provides support for that command type
within that subsystem. |
CommandServiceDirectoryEntry |
CommandServiceDirectory.getCommandTypeProvider(String subsystem,
CommandType commandType)
Finds the provider of the given command type by looking it up in the directory in a thread-safe way.
|
| Constructor and Description |
|---|
CommandServiceDirectoryEntry(String subsystem,
CommandType commandType,
ObjectName commandServiceName)
Constructor for
CommandServiceDirectoryEntry. |
MultipleCommandService.CommandTypeExecutor(CommandType type,
Class executorClass)
Creates a new object that defines what class to instantiate for each new command to execute.
|
MultipleCommandService.CommandTypeExecutor(CommandType type,
CommandExecutor executorInstance)
Creates a new object that defines what executor instance to use to execute all commands of the given
type. |
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.