setOption()

Sets the value of the specified data-handler configuration option.

Syntax

public void setOption(String name, String value);
 

Parameters

name
Name of the configuration option.
value
Value of the configuration option.

Return values

None.

Notes

The setOption() method assigns a new value to the configuration option. If the data handler has an associated child meta-object, the createHandler() method uses the default values of these meta-object attributes to initialize its configuration options. If the data handler is called in the context of a connector, this child meta-object is in the connector-process memory. If your integration broker is InterChange Server and the data handler is called in the context of an access client, this meta-object is in the memory of the InterChange Server process. You can use the setOption() method to override the value of one of these options.

Note:
Changing a configuration option with setOption() sets the value of the meta-object attribute in memory. It does not affect the value of the attribute in the repository.

See also

getOption()

Copyright IBM Corp. 1997, 2003