public interface JCoServerContextInfo
Modifier and Type | Method and Description |
---|---|
JCoServerCallType |
getCallType()
Returns the type of the current call.
|
JCoAttributes |
getConnectionAttributes()
Returns the attributes for the server connection over which the remote call is coming in.
|
String |
getConnectionID()
Returns the id for the server connection over which the remote call is coming in.
|
JCoBackgroundUnitAttributes |
getFunctionUnitAttributes()
Returns the attributes of the incoming background unit over the server.
|
String |
getQueueName()
Returns the queue name sent by the backend, if currently a qRFC LUW is being processed.
|
String[] |
getQueueNames()
Returns the queue names sent by the backend, if currently a bgRFC LUW is being processed.
|
JCoRepository |
getRepository()
Returns the reference to the repository instance used by the JCo server.
|
JCoServer |
getServer()
Returns the reference to the server instance handling the remote call.
|
String |
getSessionID()
Returns the session id of the current session.
|
String |
getTID()
Returns the TID if the call coming in was sent in "background task".
|
JCoUnitIdentifier |
getUnitIdentifier()
Returns the unit identifier if the call coming in was sent as "background unit".
|
boolean |
isInTransaction()
Returns true if the call coming in was sent in "background task" or as "background unit".
|
boolean |
isStatefulSession()
Returns true if the current session is a stateful session, false otherwise.
|
JCoAttributes getConnectionAttributes()
JCoBackgroundUnitAttributes getFunctionUnitAttributes()
String getQueueName()
String[] getQueueNames()
String getConnectionID()
JCoRepository getRepository()
JCoServer getServer()
String getSessionID()
String getTID()
JCoUnitIdentifier getUnitIdentifier()
boolean isInTransaction()
JCoServerCallType getCallType()
JCoServerCallType
boolean isStatefulSession()
Copyright © 2024 SAP. All rights reserved.