Invoke methods
The integration framework provides some invoke methods that the caller uses to invoke an integration module. Invoke methods use properties to determine what object data is returned to the caller. The properties also determine what action is taken on the returned data and how the integration framework communicates with the caller.
The service invoker interface has four invoke method signatures:
public byte[] invoke(Map <String,Object> metaData, MboRemote sourceMbo, MboRemote targetMbo, String endPointName)
public byte[] invoke(Map <String,Object> metaData, MboRemote sourceMbo, MboSetRemote targetMboSet, int action, String endPointName)
public byte[] invoke(Map <String,Object> metaData, MboSetRemote sourceMboSet, MboRemote targetMbo, String endPointName)
public byte[] invoke(Map <String,Object> metaData, MboSetRemote sourceMboSet, MboSetRemote targetMboSet, int action, String endPointName)
The action class passes the following properties when it calls one of the invoke methods on the instantiated service invoker.
Property | Description |
---|---|
metaData | The property map that the get service invoker utility method returns. |
Source object and object set | The object with the input attributes that are defined on the logical management operation. This property can contain a null value. |
Target object and object set | The object and object set that contains the return data. This property can contain a null value. |
Action | This parameter indicates whether existing objects
in the targetMboSet are updated, or new objects are added. The possible values for action are:
|
Endpoint name | The name of the endpoint that the integration module uses for communication. |