public abstract class ProObject extends java.lang.Object implements SDOFactory
| Modifier and Type | Field and Description |
|---|---|
protected static long |
m_alreadyBusy |
protected static long |
m_badOutputVal |
protected static long |
m_notAvailable |
protected IPoolProps |
m_properties |
protected static long |
m_wrongProxyVer |
protected static java.lang.String |
TYPE_AO |
protected static java.lang.String |
TYPE_PO |
protected static java.lang.String |
TYPE_SC |
protected static java.lang.String |
TYPE_SO |
protected static java.lang.String |
TYPE_SP |
| Modifier | Constructor and Description |
|---|---|
protected |
ProObject() |
|
ProObject(ProObject proxyObj,
java.lang.String objectType) |
|
ProObject(ProObject proxyObj,
java.lang.String objectType,
boolean isClass) |
|
ProObject(java.lang.String appName,
IPoolProps properties,
com.progress.common.ehnlog.IAppLogger log,
java.lang.String requestID) |
| Modifier and Type | Method and Description |
|---|---|
void |
_cancelAllRequests()
Stop any outstanding request from any object that shares this connection.
|
SDOInterface |
_createSDOProcObject(java.lang.String procName)
Create a pre-defined ProcObject that knows how to talk to an SDO whose
procedure name is specified by procname.
|
SDOResultSet |
_createSDOResultSet(java.lang.String procName,
java.lang.String whereClause,
java.lang.String sortBy,
SDOParameters params)
Creates an SDOResultSet object.
|
java.lang.String |
_getConnectionId()
Get Connection Id
|
java.lang.String |
_getProcReturnString()
Return the last Return-Value from a Progress procedure
|
java.lang.String |
_getRequestId()
Return the last Return-Value from a Progress procedure
|
java.lang.String |
_getReturnValue()
Return the last Return-Value from a Progress procedure
|
java.lang.String |
_getReturnValue(java.lang.String sessionID)
Return the last Return-Value from a Progress procedure
|
java.lang.String |
_getSSLSubjectName()
Return the last Return-Value from a Progress procedure
|
boolean |
_isStreaming()
Is there an open output temp-table?
|
void |
_release()
Decrement reference count on this connection - If last guy, we'll be
disconnected from the server.
|
int |
addReference() |
int |
deleteReference() |
protected void |
finalize() |
long |
get_tsCreated() |
long |
get_tsLastAccessed() |
protected java.lang.String |
getAppName() |
protected com.progress.common.ehnlog.IAppLogger |
getLog() |
protected IPoolProps |
getProperties() |
int |
getRefCount() |
Session |
getSession()
return reference to session object
|
Session |
getSession(java.lang.String sessionID)
return reference to session object
|
protected java.lang.String |
getSessionID() |
protected int |
getSessionMode() |
protected SessionPool |
getSessionPool() |
java.lang.String |
getWSAObjectID()
Get the WSAObjectID of this Object
|
protected boolean |
isClass() |
protected boolean |
isSessionAvailable() |
protected static java.lang.String |
newRequestID(IPoolProps properties) |
RqContext |
runProcedure(java.lang.String procName,
ParameterSet params)
Run an external non-persistent procedure
|
RqContext |
runProcedure(java.lang.String procName,
ParameterSet params,
ResultSetSchema schema)
Run an external non-persistent procedure
|
RqContext |
runProcedure(java.lang.String requestID,
java.lang.String procName,
ParameterSet params)
Run an external non-persistent procedure
|
RqContext |
runProcedure(java.lang.String requestID,
java.lang.String procName,
ParameterSet params,
ResultSetSchema schema)
Run an external non-persistent procedure
|
long |
set_tsLastAccessed() |
protected java.lang.String |
setSessionID(java.lang.String id) |
void |
shutdown()
unconditionally disconnect the server This call makes this object
unavailable.
|
java.lang.String |
toString()
Override the toString method to return the object WSA Object ID
|
protected static final long m_notAvailable
protected static final long m_wrongProxyVer
protected static final long m_badOutputVal
protected static final long m_alreadyBusy
protected static final java.lang.String TYPE_AO
protected static final java.lang.String TYPE_SO
protected static final java.lang.String TYPE_PO
protected static final java.lang.String TYPE_SP
protected static final java.lang.String TYPE_SC
protected IPoolProps m_properties
protected ProObject()
public ProObject(java.lang.String appName,
IPoolProps properties,
com.progress.common.ehnlog.IAppLogger log,
java.lang.String requestID)
throws ConnectException,
Open4GLException,
SystemErrorException
public ProObject(ProObject proxyObj, java.lang.String objectType) throws Open4GLException
Open4GLExceptionpublic ProObject(ProObject proxyObj, java.lang.String objectType, boolean isClass) throws Open4GLException
Open4GLExceptionprotected static java.lang.String newRequestID(IPoolProps properties)
public RqContext runProcedure(java.lang.String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException
All parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns
procName - params - Open4GLExceptionRunTime4GLExceptionSystemErrorExceptionpublic RqContext runProcedure(java.lang.String requestID, java.lang.String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException
All parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns
requestID - procName - params - Open4GLExceptionRunTime4GLExceptionSystemErrorExceptionpublic RqContext runProcedure(java.lang.String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException
All parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns. All schemas for the temp table parameters are passed in.
procName - params - schema - Open4GLExceptionRunTime4GLExceptionSystemErrorExceptionpublic RqContext runProcedure(java.lang.String requestID, java.lang.String procName, ParameterSet params, ResultSetSchema schema) throws Open4GLException, RunTime4GLException, SystemErrorException
All parameters are created and put into a ParameterSet before this call. All output parameters are retrieved after this call returns. All schemas for the temp table parameters are passed in.
requestID - procName - params - schema - Open4GLExceptionRunTime4GLExceptionSystemErrorExceptionpublic Session getSession() throws SessionPool.SessionPoolException, Open4GLException
SessionPool.SessionPoolExceptionOpen4GLExceptionpublic Session getSession(java.lang.String sessionID) throws SessionPool.SessionPoolException, Open4GLException
sessionID - SessionPool.SessionPoolExceptionOpen4GLExceptionpublic void _release()
throws Open4GLException,
SystemErrorException
Open4GLExceptionSystemErrorExceptionpublic void shutdown()
throws Open4GLException,
SystemErrorException
Open4GLExceptionSystemErrorExceptionpublic java.lang.String _getConnectionId()
throws Open4GLException
Open4GLExceptionpublic boolean _isStreaming()
throws Open4GLException
Open4GLExceptionpublic void _cancelAllRequests()
throws Open4GLException
Open4GLExceptionpublic java.lang.String _getReturnValue()
throws Open4GLException
Open4GLExceptionpublic java.lang.String _getRequestId()
throws Open4GLException
Open4GLExceptionpublic java.lang.String _getSSLSubjectName()
throws Open4GLException
Open4GLExceptionpublic java.lang.String _getReturnValue(java.lang.String sessionID)
throws Open4GLException
sessionID - Open4GLExceptionpublic java.lang.String _getProcReturnString()
throws Open4GLException
Open4GLExceptionpublic java.lang.String getWSAObjectID()
public java.lang.String toString()
toString in class java.lang.Objectpublic long get_tsCreated()
public long get_tsLastAccessed()
public long set_tsLastAccessed()
public int getRefCount()
public int addReference()
public int deleteReference()
throws SystemErrorException,
Open4GLException
SystemErrorExceptionOpen4GLExceptionpublic SDOResultSet _createSDOResultSet(java.lang.String procName, java.lang.String whereClause, java.lang.String sortBy, SDOParameters params) throws Open4GLException, ProSQLException
procName - the name of the SDO's .w filewhereClause - a where clause for the SDO's querysortBy - a field sort list for the SDO's queryparams - SDOResultSet initial parametersProSQLException - if an SDO data access error occursOpen4GLException - if an Open4GL error occurspublic SDOInterface _createSDOProcObject(java.lang.String procName) throws Open4GLException
_createSDOProcObject in interface SDOFactoryOpen4GLExceptionprotected boolean isClass()
protected java.lang.String getAppName()
protected IPoolProps getProperties()
protected com.progress.common.ehnlog.IAppLogger getLog()
protected int getSessionMode()
protected SessionPool getSessionPool()
protected java.lang.String getSessionID()
protected java.lang.String setSessionID(java.lang.String id)
protected void finalize()
finalize in class java.lang.Objectprotected boolean isSessionAvailable()