public class RemotePojoInvocationCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
static CommandType |
COMMAND_TYPE
command type constant identifying this type of command
|
static ParameterDefinition |
PARAM_INVOCATION
the required command parameter name containing the NameBasedInvocation object to describe what method to invoke
on the remote POJO.
|
static ParameterDefinition |
PARAM_TARGET_INTERFACE_NAME
the remote POJO's interface that the command wants to invoke.
|
| Constructor and Description |
|---|
RemotePojoInvocationCommand()
Constructor for
RemotePojoInvocationCommand. |
RemotePojoInvocationCommand(Command commandToTransform)
Constructor for
RemotePojoInvocationCommand. |
RemotePojoInvocationCommand(Map<String,Object> commandParameters)
Constructor for
RemotePojoInvocationCommand. |
| Modifier and Type | Method and Description |
|---|---|
protected CommandType |
buildCommandType()
Builds the command type of this command.
|
protected ParameterDefinition[] |
buildParameterDefinitions()
Builds the set of parameter definitions that this command will use.
|
org.jboss.remoting.invocation.NameBasedInvocation |
getNameBasedInvocation()
Gets the invocation information that describes what needs to be invoked on the remote POJO.
|
String |
getTargetInterfaceName()
Returns the name of the remote POJO's target interface that is being invoked.
|
void |
setNameBasedInvocation(org.jboss.remoting.invocation.NameBasedInvocation invocation)
Sets the invocation information that describes what needs to be invoked on the remote POJO.
|
void |
setTargetInterfaceName(String targetInterfaceName)
Sets the name of the remote POJO's target interface that is being invoked.
|
allowAnyParameter, checkParameterValidity, convertParameters, getCommandType, getConfiguration, getParameterDefinition, getParameterDefinitions, getParameterValue, getParameterValues, getParameterValuesInternalMap, hasParameterValue, initializeMetadata, isCommandInResponse, removeParameterValue, removeParameterValues, setCommandInResponse, setParameterValue, setParameterValuesInternalMap, toString, toStringpublic static final CommandType COMMAND_TYPE
public static final ParameterDefinition PARAM_INVOCATION
public static final ParameterDefinition PARAM_TARGET_INTERFACE_NAME
public RemotePojoInvocationCommand()
throws IllegalArgumentException,
InvalidParameterDefinitionException
RemotePojoInvocationCommand.public RemotePojoInvocationCommand(Map<String,Object> commandParameters) throws IllegalArgumentException, InvalidParameterDefinitionException
RemotePojoInvocationCommand.public RemotePojoInvocationCommand(Command commandToTransform)
RemotePojoInvocationCommand.public org.jboss.remoting.invocation.NameBasedInvocation getNameBasedInvocation()
public void setNameBasedInvocation(org.jboss.remoting.invocation.NameBasedInvocation invocation)
invocation - the invocation informationpublic String getTargetInterfaceName()
public void setTargetInterfaceName(String targetInterfaceName)
targetInterfaceName - the name of the target POJO's interfaceprotected CommandType buildCommandType()
AbstractCommandnull.
This method is called by the command's constructors.
buildCommandType in class AbstractCommandnullAbstractCommand.buildCommandType()protected ParameterDefinition[] buildParameterDefinitions()
AbstractCommandnull if the command accepts any and all parameters, regardless of name or typeThis method is called by the command's constructors.
buildParameterDefinitions in class AbstractCommandnullAbstractCommand.buildParameterDefinitions()Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.