IRfcModule in the Context of a Connection 

Use

An IRfcModule object is always created within the context of a connection.

IRfcModules you create using the procedures described earlier create the IRfcModule object within the single default connection.

If you use multiple connections, you need to specify the connection as a parameter when creating the IRfcModule within a connection other than the default. This is true regardless of whether you create the IRfcModule manually or with an autoCreate.

When you call an RFC function with the IRfcModule object, the relevant connection must be open. The connection must also be open whenever you use an autoCreate method to create the IRfcModule object or any of its parameters.

Integration

Regardless of whether it is used within a single or multiple connections, an IRfcModule object may contain one or more ITable, and one or more IImpExpParam objects.

When creating an IRfcModule for use with multiple connections, the IRfcModule object also references an IRfcConnection object.

The IRfcConnection object is created with the IRfcConnectionFactory.

The following diagram shows the relationship between IRfcModule and the other interfaces.

 

See Also

See the Java RFC HTML Reference documentation for the details of each of the classes and interfaces.