com.ibm.workflow.upes
Class InvokeProgramResponseData

java.lang.Object
  |
  +--com.ibm.workflow.upes.InvokeProgramResponseData

public class InvokeProgramResponseData
extends java.lang.Object

The InvokeProgramResponseData class represents the InvokeProgramResponse XML message from MQSeries Workflow as a Java class. program execution server. This means that it reads messages from a specified input queue and supports (registered) UPESListeners with the recieved message.

An UPES listens to one input queue which must be specified with queue name and queue manager name. It is able to send messages to an arbitrary queue also specified by queue and queue manager name.

UPESListener can register or deregister to the UPES so that when a message arrives the UPES asks each listener if it is responsible to handle the message. It then gives the message to the first listerer which claims the responsibility.


Field Summary
private  java.lang.String _ActImplCorrelID
           
private  java.lang.String _ExceptionMessageText
           
private  Container _ProgramOutputData
           
private  java.lang.String _ProgramRC
           
 
Constructor Summary
InvokeProgramResponseData(java.lang.String ActImplCorrelID, java.lang.String ProgramRC, Container ProgramOutputData)
          InvokeProgramResponseData constructor for the 'good' case (i.e.
InvokeProgramResponseData(java.lang.String ActImplCorrelID, java.lang.String ProgramRC, java.lang.String ExceptionMessageText)
          InvokeProgramResponseData constructor for the 'bad' case (i.e.
 
Method Summary
 java.lang.String GenerateXMLResponse()
          GenerateXMLResponse generates the XML response message out of the given data members.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_ActImplCorrelID

private java.lang.String _ActImplCorrelID

_ProgramRC

private java.lang.String _ProgramRC

_ProgramOutputData

private Container _ProgramOutputData

_ExceptionMessageText

private java.lang.String _ExceptionMessageText
Constructor Detail

InvokeProgramResponseData

public InvokeProgramResponseData(java.lang.String ActImplCorrelID,
                                 java.lang.String ProgramRC,
                                 Container ProgramOutputData)
InvokeProgramResponseData constructor for the 'good' case (i.e. non-exception case)
See Also:
Container

InvokeProgramResponseData

public InvokeProgramResponseData(java.lang.String ActImplCorrelID,
                                 java.lang.String ProgramRC,
                                 java.lang.String ExceptionMessageText)
InvokeProgramResponseData constructor for the 'bad' case (i.e. exception case)
See Also:
Container
Method Detail

GenerateXMLResponse

public java.lang.String GenerateXMLResponse()
GenerateXMLResponse generates the XML response message out of the given data members.
Returns:
The response message as XML string