getAgentProperty()

Retrieves the specified ODA configuration property.

Syntax

public AgentProperty getAgentProperty(String propName);

Parameters

propName
Is the name of the configuration property to retrieve.

Return values

An AgentProperty object that contains the specified configuration property, or null if no configuration property exists of that name exists.

Notes

The getAgentProperty() method retrieves the propName configuration property from the ODA-runtime memory. Business Object Wizard reads configuration properties into the ODA-runtime memory after the user specifies configuration-property values in the Configure Agent dialog. This method returns the specified configuration property as an AgentProperty object. You can obtain information about the property by accessing the object's member variables.

See also

getAgentProperties(), getAllAgentProperties()

Copyright IBM Corp. 1997, 2003