Package com.progress.open4gl.javaproxy
Class AppObject
java.lang.Object
com.progress.open4gl.javaproxy.ProObject
com.progress.open4gl.javaproxy.AppObject
- All Implemented Interfaces:
SDOFactory
This is the base class for
OpenAppObjectImpl
. Do not use this class directly, rather use
OpenAppObject
.-
Field Summary
Fields inherited from class com.progress.open4gl.javaproxy.ProObject
m_alreadyBusy, m_badOutputVal, m_notAvailable, m_properties, m_wrongProxyVer, TYPE_AO, TYPE_PO, TYPE_SC, TYPE_SO, TYPE_SP
-
Constructor Summary
ConstructorsConstructorDescriptionAppObject
(String appName, IPoolProps properties, com.progress.common.ehnlog.IAppLogger log, String requestID) -
Method Summary
Modifier and TypeMethodDescriptionCreatePO
(String procName, ParameterSet params) Create Proc objectCreate SubAppObjectprotected static String
getURLString
(String urlString, String serviceName) Get a URL string to pass to the session object to connect.boolean
Check to see if session is still validint
Methods inherited from class com.progress.open4gl.javaproxy.ProObject
_cancelAllRequests, _createSDOProcObject, _createSDOResultSet, _getConnectionId, _getProcReturnString, _getRequestId, _getReturnValue, _getReturnValue, _getSSLSubjectName, _isStreaming, _release, addReference, deleteReference, finalize, get_tsCreated, get_tsLastAccessed, getAppName, getLog, getProperties, getRefCount, getSession, getSession, getSessionID, getSessionMode, getSessionPool, getWSAObjectID, isClass, isSessionAvailable, newRequestID, runProcedure, runProcedure, runProcedure, runProcedure, set_tsLastAccessed, setSessionID, shutdown, toString
-
Constructor Details
-
AppObject
public AppObject(String appName, IPoolProps properties, com.progress.common.ehnlog.IAppLogger log, String requestID) throws Open4GLException, RunTime4GLException, SystemErrorException -
AppObject
public AppObject()
-
-
Method Details
-
getURLString
protected static String getURLString(String urlString, String serviceName) throws Open4GLException, MalformedURLException Get a URL string to pass to the session object to connect.If no service name is specified in the URL, then use the service name passed as a parameter. This is separated out so we can call from both java and activeX proxy.
- Parameters:
urlString
-serviceName
-- Returns:
- Throws:
Open4GLException
MalformedURLException
-
CreatePO
public Procedure CreatePO(String procName, ParameterSet params) throws Open4GLException, RunTime4GLException, SystemErrorException Create Proc object- Parameters:
procName
-params
-- Returns:
- Throws:
Open4GLException
RunTime4GLException
SystemErrorException
-
CreateSubAO
public SubAppObject CreateSubAO() throws Open4GLException, RunTime4GLException, SystemErrorExceptionCreate SubAppObject -
sessionCount
public int sessionCount()Return the number of sessions this application object has open.
- Returns:
- int
-
isConnected
public boolean isConnected()Check to see if session is still valid- Returns:
- true if valid session, false otherwise
-