getOneConfigProp()

Retrieves the top-level connector-object for a specified hierarchical connector configuration property.

Syntax

public static CxProperty getOneConfigProp(String propName);
 

Parameters

propName
Is the name of the hierarchical connector property to retrieve.

Return values

A CxProperty object that contains the top-level connector-property object for the specified hierarchical connector property. If the property name is not found, the method returns null.

Notes

The getOneConfigProp() method obtains the top-level connector-property (CxProperty) object. From this retrieved object, you can use methods of the CxProperty class to obtain the desired values of the connector property.

Note:
Values of connector configuration properties are downloaded to the connector during its initialization. If you specify a propName for a connector property that has not been downloaded, getOneConfigProp() returns null.

See also

getAllConfigProp(), getConfigProp()

Copyright IBM Corp. 1997, 2004