|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.communications.command.AbstractCommand
org.rhq.enterprise.communications.command.impl.remotepojo.RemotePojoInvocationCommand
public class RemotePojoInvocationCommand
The command to be sent when a remote invocation on a POJO is to be made.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
RemotePojoInvocationCommand()
Constructor for RemotePojoInvocationCommand. |
|
RemotePojoInvocationCommand(Command commandToTransform)
Constructor for RemotePojoInvocationCommand. |
|
RemotePojoInvocationCommand(Map<String,Object> commandParameters)
Constructor for RemotePojoInvocationCommand. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.rhq.enterprise.communications.command.AbstractCommand |
|---|
allowAnyParameter, checkParameterValidity, convertParameters, getCommandType, getConfiguration, getParameterDefinition, getParameterDefinitions, getParameterValue, getParameterValues, getParameterValuesInternalMap, hasParameterValue, initializeMetadata, isCommandInResponse, removeParameterValue, removeParameterValues, setCommandInResponse, setParameterValue, setParameterValuesInternalMap, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CommandType COMMAND_TYPE
public static final ParameterDefinition PARAM_INVOCATION
public static final ParameterDefinition PARAM_TARGET_INTERFACE_NAME
| Constructor Detail |
|---|
public RemotePojoInvocationCommand()
throws IllegalArgumentException,
InvalidParameterDefinitionException
RemotePojoInvocationCommand.
IllegalArgumentException
InvalidParameterDefinitionExceptionAbstractCommand.AbstractCommand()
public RemotePojoInvocationCommand(Map<String,Object> commandParameters)
throws IllegalArgumentException,
InvalidParameterDefinitionException
RemotePojoInvocationCommand.
IllegalArgumentException
InvalidParameterDefinitionExceptionAbstractCommand.AbstractCommand(Map)public RemotePojoInvocationCommand(Command commandToTransform)
RemotePojoInvocationCommand.
AbstractCommand.AbstractCommand(Command)| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||