Difference between revisions of "VCLCallOperation"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "Interface FQN: '''it.greenvulcano.gvesb.virtual.CallOperation''' Extends: '''it.greenvulcano.gvesb.virtual.Operation''' ==Following the CallOperation public me...")
 
 
Line 3: Line 3:
 
Extends: [[VCLOperation|'''it.greenvulcano.gvesb.virtual.Operation''']]
 
Extends: [[VCLOperation|'''it.greenvulcano.gvesb.virtual.Operation''']]
  
==Following the CallOperation public methods==
+
==CallOperation public methods==
 
<syntaxhighlight lang="java5">
 
<syntaxhighlight lang="java5">
 
public static final String TYPE = "call";
 
public static final String TYPE = "call";

Latest revision as of 17:36, 21 December 2012

Interface FQN: it.greenvulcano.gvesb.virtual.CallOperation

Extends: it.greenvulcano.gvesb.virtual.Operation

CallOperation public methods

public static final String TYPE = "call";

/**
 * Execute the operation using an GVBuffer. Usually this method
 * is used in order to call external systems.
 *
 * @param gvBuffer
 *        input data for the operation.
 *
 * @return an GVBuffer containing the operation result.
 * @exception ConnectionException
 *            if an error occurs making the connection to the external system.
 * @exception CallException
 *            if an error occurs performing the operation.
 * @exception InvalidDataException
 *            if the call fail because the data are invalid. GreenVulcano ESB 
 *            should not retry to perform the operation with the same data.
 */
public GVBuffer perform(GVBuffer gvBuffer) throws ConnectionException, CallException, InvalidDataException;