|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.progress.open4gl.RunTimeProperties
The RunTimeProperties class has a collection of static methods that control properties for the whole Java client session.
Field Summary | |
static com.progress.open4gl.dynamicapi.Tracer |
tracer
|
Constructor Summary | |
RunTimeProperties()
|
Method Summary | |
static boolean |
getBooleanProperty(java.lang.String propName)
|
static java.lang.String |
getCertificateStore()
Method Returns the certicate store list |
static int |
getConnectionLifetime()
Method Returns the connection lifetime |
static int |
getDynamicApiVersion()
Returns the "Dynamic API" version. |
static int |
getIdleConnectionTimeout()
Method Returns the Idle Connection Timeout |
static int |
getInitialConnections()
Method Returns the number of initial connections to be made |
static int |
getIntProperty(java.lang.String propName)
|
static java.lang.String |
getLogEntryTypes()
Method Returns the log entry types |
static java.lang.String |
getLogfileName()
Method Returns the logfileName |
static long |
getLongProperty(java.lang.String propName)
|
static int |
getMaxConnections()
Method Returns the maximum number of connections to be made |
static int |
getMinConnections()
Method Returns the minimum number of connections to be made |
static boolean |
getNoHostVerify()
Method returns the optional HTTPS (SSL) server domain authentication . |
static boolean |
getNoSslSessionReuse()
Get the current state of SSL session reuse. |
static int |
getNsClientMaxPort()
Method Returns the maximum nameserver client port |
static int |
getNsClientMinPort()
Method Returns the minimum nameserver client port |
static int |
getNsClientPicklistSize()
Method Returns the number of broker definitions the nameserver client should retrieve from the nameserver each time |
static int |
getNsClientPortRetry()
Method Returns the number of times the nameserver client should retry connecting to the nameserver |
static int |
getNsClientPortRetryInterval()
Method Returns the number of seconds the nameserver client should wait between retrying to connect to the nameserver |
static java.lang.String |
getProxyHost()
Method Returns the proxy host |
static java.lang.String |
getProxyPassword()
Method Returns the proxy authentication password |
static int |
getProxyPort()
Method Returns the proxy port |
static java.lang.String |
getProxyUserId()
Method Returns the proxy authentication user-id |
static int |
getRequestWaitTimeout()
Method Returns the number of seconds the client should wait for a connection to become available to run a request |
static int |
getSessionModel()
Method Returns the session model |
static Connection |
getStaticProperties()
Method Returns all the static properties |
static int |
getStreamProtocolVersion()
Returns the "Stream Protocol" version. |
static java.lang.String |
getStringProperty(java.lang.String propName)
|
static int |
getTraceLevel()
Method Returns the trace level |
static java.lang.String |
getUUID()
Method Returns the uuid |
static boolean |
getWaitIfBusy()
Returns the current "Wait If Busy" setup. |
static boolean |
isTracing()
Method Returns if tracing is on or not |
static void |
setBooleanProperty(java.lang.String propName,
boolean propValue)
|
static void |
setCertificateStore(java.lang.String certStoreList)
Method Set the CertificateStore. |
static void |
setConnectionLifetime(int nSeconds)
Method Set the connection lifetime |
static void |
setIdleConnectionTimeout(int nSeconds)
Method Set the Idle Connection Timeout |
static void |
setInitialConnections(int nConnections)
Method Set the number of initial connections to be made |
static void |
setIntProperty(java.lang.String propName,
int propValue)
|
static void |
setLogEntryTypes(java.lang.String logEntryTypes)
Method sets the logEntryTypes |
static void |
setLogfileName(java.lang.String logfileName)
Method sets the logfileName |
static void |
setLongProperty(java.lang.String propName,
long propValue)
|
static void |
setMaxConnections(int nMaxConnections)
Method Set the maximum number of connections to be made |
static void |
setMinConnections(int nMinConnections)
Method Set the minimum number of connections to be made |
static void |
setNoHostVerify(boolean trueFalseState)
Method sets the optional HTTPS (SSL) server domain authentication option. |
static void |
setNoSslSessionReuse(boolean trueFalseState)
Turns on or off SSL session reuse. |
static void |
setNoWaitIfBusy()
Method calls will throw an exception if the connection is busy. |
static void |
setNsClientMaxPort(int port)
Method Set the maximum nameserver client port |
static void |
setNsClientMinPort(int port)
Method Set the minimum nameserver client port |
static void |
setNsClientPicklistSize(int nPicklistSize)
Method sets the number of broker definitions the nameserver client should retrieve from the nameserver each time |
static void |
setNsClientPortRetry(int nRetries)
Method sets the number of times the nameserver client should retry connecting to the nameserver |
static void |
setNsClientPortRetryInterval(int nSeconds)
Method sets the number of seconds the nameserver client should wait between retrying to connect to the nameserver |
static void |
setProxyHost(java.lang.String host)
Method Set the proxy host. |
static void |
setProxyPassword(java.lang.String pwd)
Method Set the proxy user-id's password. |
static void |
setProxyPort(int port)
Method Set the proxy port. |
static void |
setProxyUserId(java.lang.String userId)
Method Set the proxy user id. |
static void |
setRequestWaitTimeout(int nRqWaitSec)
Method sets the number of seconds the client should wait for a connection to become available to run a request |
static void |
setSessionModel(int model)
Method Set the sessionModel |
static void |
setStringProperty(java.lang.String propName,
java.lang.String propValue)
Method Set the specified property |
static void |
setTraceLevel(int traceLevel)
Method sets the traceLevel |
static void |
setUUID(java.lang.String uuid)
Method sets the uuid |
static void |
setWaitIfBusy()
Method calls will wait if the connection is busy. |
static void |
traceOff()
Method Turns tracing off |
static void |
traceOn()
Method Turns tracing on with default tracing level. |
static void |
traceOn(int level)
Method Turns tracing on with specified tracing level. |
static void |
traceOn(java.lang.String fileName)
Method Turns tracing on to a specified file with the default tracing level. |
static void |
traceOn(java.lang.String fileName,
int level)
Method Turns tracing on to a specified file with the specified tracing level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final com.progress.open4gl.dynamicapi.Tracer tracer
Constructor Detail |
public RunTimeProperties()
Method Detail |
public static boolean getBooleanProperty(java.lang.String propName)
public static java.lang.String getCertificateStore()
public static int getConnectionLifetime()
public static int getDynamicApiVersion()
public static int getIdleConnectionTimeout()
public static int getInitialConnections()
public static int getIntProperty(java.lang.String propName)
public static java.lang.String getLogEntryTypes()
public static java.lang.String getLogfileName()
public static long getLongProperty(java.lang.String propName)
public static int getMaxConnections()
public static int getMinConnections()
public static boolean getNoHostVerify()
public static boolean getNoSslSessionReuse()
boolean
valuepublic static int getNsClientMaxPort()
public static int getNsClientMinPort()
public static int getNsClientPicklistSize()
public static int getNsClientPortRetry()
public static int getNsClientPortRetryInterval()
public static java.lang.String getProxyHost()
public static java.lang.String getProxyPassword()
public static int getProxyPort()
public static java.lang.String getProxyUserId()
public static int getRequestWaitTimeout()
public static int getSessionModel()
public static Connection getStaticProperties()
public static int getStreamProtocolVersion()
public static java.lang.String getStringProperty(java.lang.String propName)
public static int getTraceLevel()
public static java.lang.String getUUID()
public static boolean getWaitIfBusy()
setWaitIfBusy()
,
setNoWaitIfBusy()
public static boolean isTracing()
public static void setBooleanProperty(java.lang.String propName, boolean propValue)
public static void setCertificateStore(java.lang.String certStoreList) throws Open4GLException
certStoreList
- Directory and/or file name[s]. If more than one directory/file
is specified then the list will be separated by semi-colons. The format of the
parameter is "Open4GLException
public static void setConnectionLifetime(int nSeconds)
nSeconds
- connectionLifetimepublic static void setIdleConnectionTimeout(int nSeconds)
nSeconds
- Idle Connection Timeoutpublic static void setInitialConnections(int nConnections)
nConnections
- number of connectionspublic static void setIntProperty(java.lang.String propName, int propValue)
public static void setLogEntryTypes(java.lang.String logEntryTypes)
logEntryTypes
- the log entry typespublic static void setLogfileName(java.lang.String logfileName)
logfileName
- the logfileNamepublic static void setLongProperty(java.lang.String propName, long propValue)
public static void setMaxConnections(int nMaxConnections)
nMaxConnections
- maximum number of connectionspublic static void setMinConnections(int nMinConnections)
nMinConnections
- minimum number of connectionspublic static void setNoHostVerify(boolean trueFalseState) throws Open4GLException
trueFalseState
- The boolean value that holds the new authentication state.
Open4GLException
public static void setNoSslSessionReuse(boolean trueFalseState) throws Open4GLException
trueFalseState
- a boolean
value
Open4GLException
- if an error occurspublic static void setNoWaitIfBusy()
setWaitIfBusy()
public static void setNsClientMaxPort(int port)
port
- port numberpublic static void setNsClientMinPort(int port)
port
- port numberpublic static void setNsClientPicklistSize(int nPicklistSize)
public static void setNsClientPortRetry(int nRetries)
nRetries
- number of retriespublic static void setNsClientPortRetryInterval(int nSeconds)
nSeconds
- number of secondspublic static void setProxyHost(java.lang.String host) throws Open4GLException
host
- The host name
Open4GLException
public static void setProxyPassword(java.lang.String pwd) throws Open4GLException
pwd
- The user-id password for authentication
Open4GLException
public static void setProxyPort(int port) throws Open4GLException
port
- The port number
Open4GLException
public static void setProxyUserId(java.lang.String userId) throws Open4GLException
userId
- The userId for authentication
Open4GLException
public static void setRequestWaitTimeout(int nRqWaitSec)
nRqWaitSec
- number of secondspublic static void setSessionModel(int model)
model
- The sessionModelpublic static void setStringProperty(java.lang.String propName, java.lang.String propValue)
propName
- the name of the property to be setpropValue
- the value of the property to be setpublic static void setTraceLevel(int traceLevel)
traceLevel
- the trace levelpublic static void setUUID(java.lang.String uuid)
public static void setWaitIfBusy()
setNoWaitIfBusy()
public static void traceOff()
public static void traceOn()
public static void traceOn(int level)
level
- The tracing level. The higher the level, the more tracing is output.public static void traceOn(java.lang.String fileName)
fileName
- The file to write trace information topublic static void traceOn(java.lang.String fileName, int level)
fileName
- The file to write trace information tolevel
- The tracing level. The higher the level, the more tracing is output.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |