Configure the runtime behavior of the connector in Java.
In the
Connector Progress
view, under
Phase 3: Configure the Runtime Behavior
, click
Set Up
.
The
<ConnectorID><NMOName>DataAdapter.java
and
<ConnectorID>DataConnection.java
files are generated.
Implement the following methods in the
<ConnectorID><NMOName>DataAdapter.java
file:
initDataSourceOperation. Implement this method to perform tasks before the mapping runs. 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 the mapping runs. The scope of the RuntimeConfig and Metadata handles available in this method is within the deinitDataSourceOperation method.
initDataSession
deinitDataSession
read
write
reset. Optional. Implement this method if the connector supports the lookup operation.