Try OpenEdge Now
skip to main content
Java Open Clients
Accessing Proxy Properties : Accessing properties with methods : General property accessor methods for the RunTimeProperties class : Set property methods syntax
 
Set property methods syntax
public static void setStringProperty(String propName, String propValue)
public static void setIntProperty(String propName, int propValue)
public static void setLongProperty(String propName, long propValue)
public static void setBooleanProperty(String propName, boolean propValue)
propName
The property name. This can be any of the properties listed in the tables in Available properties.
propValue
The value for the property name.
For example, to set the PROGRESS.Session.initialConnections property to 5, use the following method to set an integer property:
RunTimeProperties.setIntProperty("PROGRESS.Session.initialConnections",5);