Table of Contents

  1. Preface
  2. Introduction to the Informatica Connector Toolkit
  3. Installing and Upgrading the Informatica Connector Toolkit
  4. Building an Adapter
  5. Connection Attributes
  6. Type System
  7. Metadata Objects
  8. Partitioning Capability
  9. Run-time Behavior
  10. Adapter Example: Instagram
  11. Adapter Example: MySQL
  12. Adapter Example: YouTube
  13. Metadata Models
  14. ASO Model
  15. Adapter Project Migration
  16. Frequently Asked Questions

Informatica Connector Toolkit Developer Guide

Informatica Connector Toolkit Developer Guide

Implement the Adapter Run-Time Behavior in Java

Implement the Adapter Run-Time Behavior in Java

You can use the Run-Time Implementation wizard in the Informatica Connector Toolkit to implement the run-time behavior in Java.
  1. In the Connector Navigator view, right-click the project and select Runtime<NMOName>Set Up.
    The Run-Time Implementation wizard appears.
  2. Choose to implement the run-time behavior in Java.
  3. Add the required run-time library files and generate the <ConnectorID><NMOName>DataAdapter.java and <ConnectorID>DataConnection.java files.
  4. Implement the following methods in the <ConnectorID><NMOName>DataAdapter.java file:
    • initDataSourceOperation. Implement this method to perform tasks before a mapping run. For example, you can implement code to initialize environment variables. The scope of the RuntimeConfig and Metadata handles available in this method is within the initDataSourceOperation method.
    • deinitDataSourceOperation. Implement this method to perform tasks after a mapping run. The scope of the RuntimeConfig and Metadata handles available in this method is within the deinitDataSourceOperation method.
    • initDataSourceOperation
    • deinitDataSourceOperation
    • initDataSession
    • deinitDataSession
    • read
    • write
    • reset (Optional. Implement this method if lookup operation is supported.)
    • beginDataSession
    • endDataSession
  5. Implement the following methods in the <ConnectorID>DataConnection.java file:
    • connect
    • disconnect
  6. To support data preview in the Informatica Cloud, implement the following method in the <ConnectorID>ASOOperationObjMgr.java file:
    prepareRuntimeOperation


Updated May 15, 2019


Explore Informatica Network