|
Sun Adapter for SAP BAPI API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.sapbapiadapter.sapbapi.ConnectorServer
public abstract class ConnectorServer
An interface to define the methods required by a SAP BAPI and IDOC connectors for inbound transactions from SAP
Field Summary | |
---|---|
protected java.lang.String |
appServerHost
|
protected java.lang.String |
characterSet
|
protected java.lang.String |
client
|
protected long |
connVerifInterval
Connection Verification Interval. |
static long |
DELTA_TIME
Small delta time in milliseconds: 3000 ms |
static java.lang.String |
EMPTY_STRING
|
protected java.lang.String |
enableTrace
|
protected java.lang.String |
gatewayHostname
|
protected java.lang.String |
gatewayService
|
protected com.sap.mw.jco.JCO.Client |
jcoClient
RFC Client. |
protected java.lang.String |
language
|
protected long |
lastActivityTime
DOCUMENT ME |
protected java.lang.Throwable |
lastError
DOCUMENT ME |
protected net.java.hulp.i18n.Logger |
mLogger
|
protected int |
numOfRfcServers
|
protected java.lang.String |
password
|
protected java.lang.String |
programID
|
protected int |
rfcTraceLevel
|
protected java.lang.String |
router
|
protected java.lang.String |
sncEnabled
|
protected java.lang.String |
sncLib
|
protected java.lang.String |
sncMyName
|
protected java.lang.String |
sncQop
|
protected java.lang.String |
systemId
|
protected java.lang.String |
systemNum
|
protected java.lang.String |
tidDB
|
protected java.lang.String |
tranXactMode
|
protected java.lang.String |
user
|
protected long |
waitInterval
|
protected java.lang.String |
waitIntervalStr
Interval to wait for Server request. |
static java.lang.String |
XACT_NONE_STR
Non-Transactional mode string. |
static java.lang.String |
XACT_TRFC_STR
Transactional RFC (tRFC) mode string. |
Constructor Summary | |
---|---|
ConnectorServer()
|
Method Summary | |
---|---|
com.sap.mw.jco.JCO.Client |
getClient()
Retrieves the SAP jCO client object. |
int |
getClientMaxDBRows()
Retrieves the ClientMaxDBRows. |
long |
getLastActivityTime()
Gets the last time a connection activity was performed. |
java.lang.Throwable |
getLastError()
Gets the last error due to a connection attempt. |
protected ConnectorServer |
getServer()
Returns the Connector Server object. |
java.lang.String |
getServerTransactionalMode()
Retrieves the Server Transactional Mode. |
java.lang.String |
getTidDatabase()
Retrieves the TID Database to use for server mode. |
protected void |
init(com.stc.connector.framework.util.ConfigurationHelper aConfiguration)
Iniitalizes the TID Manager Factory and misc |
boolean |
isServerRfcTrace()
Checks whether RFC Tracing is enabled for server mode. |
boolean |
isServerTrfcEnabled()
Checks whether tRFC (transactional RFC) is enabled for server mode. |
boolean |
isTrfcEnabled()
Checks whether tRFC (transactional RFC) is enabled for server mode. |
void |
setLastActivityTime(long lastActivityTime)
Sets the last time a connection activity was performed. |
void |
setLastError(java.lang.Throwable lastError)
Sets the last error due to a connection attempt. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected net.java.hulp.i18n.Logger mLogger
protected long lastActivityTime
protected java.lang.Throwable lastError
public static final java.lang.String XACT_NONE_STR
public static final java.lang.String XACT_TRFC_STR
public static final long DELTA_TIME
public static final java.lang.String EMPTY_STRING
protected com.sap.mw.jco.JCO.Client jcoClient
protected java.lang.String gatewayService
protected java.lang.String gatewayHostname
protected java.lang.String router
protected java.lang.String programID
protected java.lang.String tidDB
protected java.lang.String appServerHost
protected java.lang.String systemNum
protected java.lang.String systemId
protected java.lang.String client
protected java.lang.String user
protected java.lang.String password
protected java.lang.String language
protected java.lang.String tranXactMode
protected java.lang.String enableTrace
protected java.lang.String characterSet
protected int rfcTraceLevel
protected int numOfRfcServers
protected java.lang.String sncEnabled
protected java.lang.String sncQop
protected java.lang.String sncLib
protected java.lang.String sncMyName
protected java.lang.String waitIntervalStr
protected long waitInterval
protected long connVerifInterval
Constructor Detail |
---|
public ConnectorServer()
Method Detail |
---|
protected void init(com.stc.connector.framework.util.ConfigurationHelper aConfiguration) throws javax.resource.ResourceException
javax.resource.ResourceException
- on errorprotected ConnectorServer getServer()
public void setLastActivityTime(long lastActivityTime)
setLastActivityTime
in interface Connector
lastActivityTime
- the last timepublic long getLastActivityTime()
public void setLastError(java.lang.Throwable lastError)
lastError
- the errorpublic java.lang.Throwable getLastError()
public boolean isServerRfcTrace()
true
if RFC Tracing is enabled; else false
.public java.lang.String getTidDatabase()
getTidDatabase
in interface Connector
public boolean isServerTrfcEnabled()
true
if tRFC is enabled; else false
.public boolean isTrfcEnabled()
isTrfcEnabled
in interface Connector
true
if tRFC is enabled; else false
.public java.lang.String getServerTransactionalMode()
XACT_NONE_STR
,
XACT_TRFC_STR
public com.sap.mw.jco.JCO.Client getClient()
getClient
in interface Connector
public int getClientMaxDBRows()
getClientMaxDBRows
in interface Connector
|
Sun Adapter for SAP BAPI API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |