|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.progress.open4gl.javaproxy.Connection
| Field Summary |
| Fields inherited from interface com.progress.open4gl.dynamicapi.IPoolProps |
_APPLICATION_UUID, _APPSERVER_VERSION, _APPSERVICE_CONNECTION_MODE, _APPSERVICE_HOST, _APPSERVICE_NAME, _APPSERVICE_PORT, _APPSERVICE_PROTOCOL, _CONNECTION_LIFETIME, _ENABLE_TRACING, _IDLE_SESSION_TIMEOUT, _INITIAL_SESSIONS, _LOGFILE_NAME, _LOGGING_ENTRY_TYPES, _MAX_SESSIONS, _MIN_IDLE_CONNECTIONS, _MIN_SESSIONS, _NS_CLIENT_MAX_PORT, _NS_CLIENT_MIN_PORT, _NS_CLIENT_PICKLIST, _NS_CLIENT_PICKLIST_EXP, _NS_CLIENT_RETRY, _NS_CLIENT_RETRY_INTERVAL, _PROXY_HOST, _PROXY_PASSWORD, _PROXY_PORT, _PROXY_USERID, _REQUEST_WAIT_TIMEOUT, _RUNTIME_PROPERTY_VERSION, _SERVICE_AVAILABLE, _SERVICE_FAULT_LEVEL, _SERVICE_LOGGING_ENTRIES, _SERVICE_LOGGING_ENTRY_TYPES, _SERVICE_LOGGING_LEVEL, _SESSION_APPSERVERINFO, _SESSION_PASSWORD, _SESSION_URL, _SESSION_USERID, _SOCKET_TIMEOUT, _SSL_APPLET_CERTIFICATE_STORE, _SSL_CERTIFICATE_STORE, _SSL_NO_HOST_VERIFY, _SSL_NO_SESSION_REUSE, _SSL_WIN_CERTIFICATE_STORE, _STALE_OBJECT_TIMEOUT, _TRACE_LEVEL, _WAIT_IF_BUSY, APPLICATION_UUID, APPSERVICE_CONNECTION_MODE, APPSERVICE_HOST, APPSERVICE_NAME, APPSERVICE_PORT, APPSERVICE_PROTOCOL, CONNECTION_LIFETIME, defaultPropNames, ENABLE_TRACING, HTTP_TIMEOUT, IDLE_SESSION_TIMEOUT, INITIAL_SESSIONS, LOGFILE_NAME, LOGGING_ENTRY_TYPES, MAX_SESSIONS, MIN_IDLE_CONNECTIONS, MIN_SESSIONS, NS_CLIENT_MAX_PORT, NS_CLIENT_MIN_PORT, NS_CLIENT_PICKLIST, NS_CLIENT_PICKLIST_EXP, NS_CLIENT_RETRY, NS_CLIENT_RETRY_INTERVAL, PROPNAME_PREFIX, PROXY_HOST, PROXY_PASSWORD, PROXY_PORT, PROXY_USERID, REQUEST_WAIT_TIMEOUT, ROOT, RUNTIME_PROPERTY_VERSION, runtimePropNames, serialVersionUID, SERVICE_AVAILABLE, SERVICE_FAULT_LEVEL, SERVICE_LOGGING_ENTRIES, SERVICE_LOGGING_ENTRY_TYPES, SERVICE_LOGGING_LEVEL, SESSION_APPSERVERINFO, SESSION_PASSWORD, SESSION_POOL_NAME, SESSION_URL, SESSION_USERID, sessionFreePropNames, sessionManagedPropNames, SM_SESSION_FREE, SM_SESSION_MANAGED, SOCKET_TIMEOUT, SSL_CERTIFICATE_STORE, SSL_NO_HOST_VERIFY, SSL_NO_SESSION_REUSE, STALE_OBJECT_TIMEOUT, TRACE_LEVEL, WAIT_IF_BUSY, X_APPSERVICE_CONNECTION_MODE, X_APPSERVICE_HOST, X_APPSERVICE_NAME, X_APPSERVICE_PORT, X_APPSERVICE_PROTOCOL, X_CONNECTION_LIFETIME, X_IDLE_SESSION_TIMEOUT, X_INITIAL_SESSIONS, X_MAX_SESSIONS, X_MIN_IDLE_CONNECTIONS, X_MIN_SESSIONS, X_NS_CLIENT_MAX_PORT, X_NS_CLIENT_MIN_PORT, X_NS_CLIENT_PICKLIST, X_NS_CLIENT_PICKLIST_EXP, X_NS_CLIENT_RETRY, X_NS_CLIENT_RETRY_INTERVAL, X_REQUEST_WAIT_TIMEOUT, X_SERVICE_AVAILABLE, X_SERVICE_FAULT_LEVEL, X_SERVICE_LOGGING_ENTRIES, X_SERVICE_LOGGING_ENTRY_TYPES, X_SERVICE_LOGGING_LEVEL, X_SSL_NO_HOST_VERIFY, X_SSL_NO_SESSION_REUSE, X_STALE_OBJECT_TIMEOUT, X_WAIT_IF_BUSY, XML_TYPE |
| Constructor Summary | |
Connection(Connection parent)
|
|
Connection(java.lang.String userId,
java.lang.String password,
java.lang.String appServerInfo)
|
|
Connection(java.lang.String urlString,
java.lang.String userId,
java.lang.String password,
java.lang.String appServerInfo)
|
|
| Method Summary | |
void |
addReference(com.progress.open4gl.dynamicapi.SessionPool sessionPool)
|
void |
finalize()
|
java.lang.String |
getAppServerInfo()
|
java.util.Properties |
getAsProperties()
|
boolean |
getBooleanProperty(java.lang.String propName)
|
java.lang.String |
getCertificateStore()
Method Returns the certicate store list |
int |
getConnectionLifetime()
Method Returns the connection lifetime |
int |
getIdleConnectionTimeout()
Method Returns the Idle Connection Timeout |
int |
getInitialConnections()
Method Returns the number of initial connections to be made |
int |
getIntProperty(java.lang.String propName)
|
java.lang.String |
getLogEntryTypes()
Method Returns the log entry types |
java.lang.String |
getLogfileName()
Method Returns the logfileName |
long |
getLongProperty(java.lang.String propName)
|
int |
getMaxConnections()
Method Returns the maximum number of connections to be made |
int |
getMinConnections()
Method Returns the minimum number of connections to be made |
boolean |
getNoHostVerify()
Method returns the optional HTTPS (SSL) server domain authentication . |
boolean |
getNoSslSessionReuse()
Get the current state of SSL session reuse. |
int |
getNsClientMaxPort()
Method Returns the maximum nameserver client port |
int |
getNsClientMinPort()
Method Returns the minimum nameserver client port |
int |
getNsClientPicklistSize()
Method Returns the number of broker definitions the nameserver client should retrieve from the nameserver each time |
int |
getNsClientPortRetry()
Method Returns the number of times the nameserver client should retry connecting to the nameserver |
int |
getNsClientPortRetryInterval()
Method Returns the number of seconds the nameserver client should wait between retrying to connect to the nameserver |
java.lang.String |
getPassword()
|
java.util.Hashtable |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String propName)
|
java.lang.String |
getProxyHost()
Method Returns the proxy host |
java.lang.String |
getProxyPassword()
Method Returns the proxy authentication password |
int |
getProxyPort()
Method Returns the proxy port |
java.lang.String |
getProxyUserId()
Method Returns the proxy authentication user-id |
int |
getRequestWaitTimeout()
Method Returns the number of seconds the client should wait for a connection to become available to run a request |
int |
getSessionModel()
Method Returns the session model |
com.progress.open4gl.dynamicapi.SessionPool |
getSessionPool()
|
java.lang.String |
getStringProperty(java.lang.String propName)
|
int |
getTraceLevel()
Method Returns the trace level |
java.lang.String |
getUrl()
|
java.lang.String |
getUserId()
|
java.lang.String |
getUUID()
Method Returns the uuid |
boolean |
getWaitIfBusy()
Returns the current "Wait If Busy" setup. |
void |
releaseConnection()
|
void |
setAppServerInfo(java.lang.String appServerInfo)
|
java.lang.Object |
setBooleanProperty(java.lang.String propName,
boolean propValue)
|
void |
setCertificateStore(java.lang.String certStoreList)
Method Set the CertificateStore. |
void |
setConnectionLifetime(int nSeconds)
Method Set the connection lifetime |
void |
setIdleConnectionTimeout(int nSeconds)
Method Set the Idle Connection Timeout |
void |
setInitialConnections(int nConnections)
Method Set the number of initial connections to be made |
java.lang.Object |
setIntProperty(java.lang.String propName,
int propValue)
|
void |
setLogEntryTypes(java.lang.String logEntryTypes)
Method sets the logEntryTypes |
void |
setLogfileName(java.lang.String logfileName)
Method sets the logfileName |
java.lang.Object |
setLongProperty(java.lang.String propName,
long propValue)
|
void |
setMaxConnections(int nMaxConnections)
Method Set the maximum number of connections to be made |
void |
setMinConnections(int nMinConnections)
Method Set the minimum number of connections to be made |
void |
setNoHostVerify(boolean trueFalseState)
Method sets the optional HTTPS (SSL) server domain authentication option. |
void |
setNoSslSessionReuse(boolean trueFalseState)
Turns on or off SSL session reuse. |
void |
setNoWaitIfBusy()
Method calls will throw an exception if the connection is busy. |
void |
setNsClientMaxPort(int port)
Method Set the maximum nameserver client port |
void |
setNsClientMinPort(int port)
Method Set the minimum nameserver client port |
void |
setNsClientPicklistSize(int nPicklistSize)
Method sets the number of broker definitions the nameserver client should retrieve from the nameserver each time |
void |
setNsClientPortRetry(int nRetries)
Method sets the number of times the nameserver client should retry connecting to the nameserver |
void |
setNsClientPortRetryInterval(int nSeconds)
Method sets the number of seconds the nameserver client should wait between retrying to connect to the nameserver |
void |
setPassword(java.lang.String password)
|
void |
setProperties(java.util.Properties props)
|
void |
setProperty(java.lang.String propName,
java.lang.Object propValue)
|
void |
setProxyHost(java.lang.String host)
Method Set the proxy host. |
void |
setProxyPassword(java.lang.String pwd)
Method Set the proxy user-id's password. |
void |
setProxyPort(int port)
Method Set the proxy port. |
void |
setProxyUserId(java.lang.String userId)
Method Set the proxy user id. |
void |
setRequestWaitTimeout(int nRqWaitSec)
Method sets the number of seconds the client should wait for a connection to become available to run a request |
void |
setSessionModel(int model)
Method Set the sessionModel |
java.lang.Object |
setStringProperty(java.lang.String propName,
java.lang.String propValue)
|
void |
setTraceLevel(int traceLevel)
Method sets the traceLevel |
void |
setUrl(java.lang.String url)
|
void |
setUserId(java.lang.String userid)
|
void |
setUUID(java.lang.String uuid)
Method sets the uuid |
void |
setWaitIfBusy()
Method calls will wait if the connection is busy. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Connection(Connection parent)
public Connection(java.lang.String userId,
java.lang.String password,
java.lang.String appServerInfo)
public Connection(java.lang.String urlString,
java.lang.String userId,
java.lang.String password,
java.lang.String appServerInfo)
| Method Detail |
public void addReference(com.progress.open4gl.dynamicapi.SessionPool sessionPool)
addReference in interface com.progress.open4gl.dynamicapi.IPoolPropspublic void finalize()
finalize in class java.lang.Objectpublic java.lang.String getAppServerInfo()
public java.util.Properties getAsProperties()
getAsProperties in interface com.progress.open4gl.dynamicapi.IPoolPropspublic boolean getBooleanProperty(java.lang.String propName)
getBooleanProperty in interface com.progress.open4gl.dynamicapi.IPoolPropspublic java.lang.String getCertificateStore()
public int getConnectionLifetime()
public int getIdleConnectionTimeout()
public int getInitialConnections()
public int getIntProperty(java.lang.String propName)
getIntProperty in interface com.progress.open4gl.dynamicapi.IPoolPropspublic java.lang.String getLogEntryTypes()
public java.lang.String getLogfileName()
public long getLongProperty(java.lang.String propName)
getLongProperty in interface com.progress.open4gl.dynamicapi.IPoolPropspublic int getMaxConnections()
public int getMinConnections()
public boolean getNoHostVerify()
public boolean getNoSslSessionReuse()
boolean valuepublic int getNsClientMaxPort()
public int getNsClientMinPort()
public int getNsClientPicklistSize()
public int getNsClientPortRetry()
public int getNsClientPortRetryInterval()
public java.lang.String getPassword()
public java.util.Hashtable getProperties()
public java.lang.Object getProperty(java.lang.String propName)
getProperty in interface com.progress.open4gl.dynamicapi.IPoolPropspublic java.lang.String getProxyHost()
public java.lang.String getProxyPassword()
public int getProxyPort()
public java.lang.String getProxyUserId()
public int getRequestWaitTimeout()
public int getSessionModel()
public com.progress.open4gl.dynamicapi.SessionPool getSessionPool()
getSessionPool in interface com.progress.open4gl.dynamicapi.IPoolPropspublic java.lang.String getStringProperty(java.lang.String propName)
getStringProperty in interface com.progress.open4gl.dynamicapi.IPoolPropspublic int getTraceLevel()
public java.lang.String getUrl()
public java.lang.String getUserId()
public java.lang.String getUUID()
public boolean getWaitIfBusy()
setWaitIfBusy(),
setNoWaitIfBusy()
public void releaseConnection()
throws Open4GLException
releaseConnection in interface com.progress.open4gl.dynamicapi.IPoolPropsOpen4GLExceptionpublic void setAppServerInfo(java.lang.String appServerInfo)
public java.lang.Object setBooleanProperty(java.lang.String propName,
boolean propValue)
setBooleanProperty in interface com.progress.open4gl.dynamicapi.IPoolProps
public 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 "Open4GLExceptionpublic void setConnectionLifetime(int nSeconds)
nSeconds - connectionLifetimepublic void setIdleConnectionTimeout(int nSeconds)
nSeconds - Idle Connection Timeoutpublic void setInitialConnections(int nConnections)
nConnections - number of connections
public java.lang.Object setIntProperty(java.lang.String propName,
int propValue)
setIntProperty in interface com.progress.open4gl.dynamicapi.IPoolPropspublic void setLogEntryTypes(java.lang.String logEntryTypes)
logEntryTypes - the log entry typespublic void setLogfileName(java.lang.String logfileName)
logfileName - the logfileName
public java.lang.Object setLongProperty(java.lang.String propName,
long propValue)
setLongProperty in interface com.progress.open4gl.dynamicapi.IPoolPropspublic void setMaxConnections(int nMaxConnections)
nMaxConnections - maximum number of connectionspublic void setMinConnections(int nMinConnections)
nMinConnections - minimum number of connections
public void setNoHostVerify(boolean trueFalseState)
throws Open4GLException
trueFalseState - The boolean value that holds the new authentication state.
Open4GLException
public void setNoSslSessionReuse(boolean trueFalseState)
throws Open4GLException
trueFalseState - a boolean value
Open4GLException - if an error occurspublic void setNoWaitIfBusy()
setWaitIfBusy()public void setNsClientMaxPort(int port)
port - port numberpublic void setNsClientMinPort(int port)
port - port numberpublic void setNsClientPicklistSize(int nPicklistSize)
public void setNsClientPortRetry(int nRetries)
nRetries - number of retriespublic void setNsClientPortRetryInterval(int nSeconds)
nSeconds - number of secondspublic void setPassword(java.lang.String password)
public void setProperties(java.util.Properties props)
public void setProperty(java.lang.String propName,
java.lang.Object propValue)
setProperty in interface com.progress.open4gl.dynamicapi.IPoolProps
public void setProxyHost(java.lang.String host)
throws Open4GLException
host - The host name
Open4GLException
public void setProxyPassword(java.lang.String pwd)
throws Open4GLException
pwd - The user-id password for authentication
Open4GLException
public void setProxyPort(int port)
throws Open4GLException
port - The port number
Open4GLException
public void setProxyUserId(java.lang.String userId)
throws Open4GLException
userId - The userId for authentication
Open4GLExceptionpublic void setRequestWaitTimeout(int nRqWaitSec)
nRqWaitSec - number of secondspublic void setSessionModel(int model)
model - The sessionModel
public java.lang.Object setStringProperty(java.lang.String propName,
java.lang.String propValue)
setStringProperty in interface com.progress.open4gl.dynamicapi.IPoolPropspublic void setTraceLevel(int traceLevel)
traceLevel - the trace levelpublic void setUrl(java.lang.String url)
public void setUserId(java.lang.String userid)
public void setUUID(java.lang.String uuid)
public void setWaitIfBusy()
setNoWaitIfBusy()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||