getAllConnectorAgentProperties()

Retrieves a list of all configuration properties for the current connector.

Syntax

public static Hashtable getAllConnectorAgentProperties();

Parameters

None.

Return values

A reference to a Hashtable object that contains the connector properties for the current connector.

Notes

The getAllConnectorAgentProperties() method retrieves the connector configuration properties as a Java Hashtable object, which maps keys to values. The keys are the names of the properties and values are the associated property values. Use methods of the Hashtable structure (such as keys() and elements()) to obtain the information from this structure.

Examples

Hashtable ht = new Hastable();
ht = JavaConnectorUtil.getAllConnectorAgentProperties();
int size = ht.size();
Enumeration properties = ht.keys();
Enumeration values = ht.elements();
 
while (properties.hasMoreElements()) {
    System.out.print((String)properties.nextElement());
    System.out.print("=");
    System.out.println((String)values.nextElement());
    System.out.println("Property set");
}

Copyright IBM Corp. 1997, 2004