Try OpenEdge Now
skip to main content
Java Open Clients
Accessing Proxy Properties : Accessing properties with methods : Accessing properties using purposed accessor methods
 

Accessing properties using purposed accessor methods

In addition to the general property accessor methods, you can access properties using individual property accessor methods. Every property has a pair of methods you can use to set and get the value of the property.
When calling these methods on the RunTimeProperties class, use the class name to call the method. For example:
RunTimeProperties.setInitialConnections(5);
When calling these methods on a Connection object, use the instance of the object to call the method. For example:
ConnectObj.setInitialConnections(5);
Where ConnectObj is an instance of the com.progress.open4gl.javaproxy.Connection class.
* Session methods
* Thread control methods
* Proxy server specification methods
* Secure Sockets Layer management methods
* Tracing methods (RunTimeProperties only)
* Compression methods