Table of Contents

Search

  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: MySQL
  11. Adapter Example: YouTube
  12. Metadata Models
  13. ASO Model
  14. Adapter Project Migration

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


Updated September 28, 2018