public interface JCoDestination
Modifier and Type | Method and Description |
---|---|
void |
changePassword(String oldPassword,
String newPassword)
Allows changing the password in the backend for the user associated with the destination.
|
void |
confirmFunctionUnit(JCoUnitIdentifier unitIdentifier)
Confirms that a bgRFC unit has been executed successfully.
|
void |
confirmTID(String tid)
Confirms that a transaction (tRFC/qRFC) has been executed successfully.
|
JCoCustomDestination |
createCustomDestination()
creates a new instance of custom destination with
default values set from the current destination.
It is possible to modify the user logon data on the customizable destination |
String |
createTID()
Creates a new transaction ID that can be used for tRFC/qRFC requests.
|
String |
getAliasUser()
Returns the alias of the logon user as specified in the destination
properties.
|
String |
getApplicationServerHost()
Returns the host name of the ABAP instance as specified in the destination
properties.
|
JCoAttributes |
getAttributes()
Returns the attributes of the destination.
|
String |
getClient()
Returns SAP client as specified in the destination
properties.
|
String |
getDestinationID()
Returns internal id of this destination instance.
|
String |
getDestinationName()
Returns name of destination.
|
long |
getExpirationCheckPeriod()
Returns the time in ms, after which a checker
will close the expired connections.
|
long |
getExpirationTime()
Returns the time in ms, after which a free connection,
that is hold internally for the destination,
is being regarded as expired and will be closed during
next run of the expiration checker.
|
String |
getExternalIDData()
Returns the external identification user logon data as specified in the
destination properties.
|
String |
getExternalIDType()
Returns the type of the external identification user logon data as specified
in the destination properties.
|
JCoFunctionUnitState |
getFunctionUnitState(JCoUnitIdentifier unitIdentifier)
Returns the state of the unit with the given ID.
|
String |
getGatewayHost()
Returns the gateway host as specified in the destination
properties.
|
String |
getGatewayService()
Returns the gateway service as specified in the destination
properties.
|
String |
getLanguage()
Returns the logon language as specified in the destination
properties.
|
String |
getLogonCheck()
Returns the logon check mode as specified in the destination
properties.
|
String |
getLogonGroup()
Returns the logon group as specified in the destination
properties.
|
long |
getMaxGetClientTime()
Returns the max time in ms for the allocation of a
connection to a destination in case if the peak limit
is already reached.
|
String |
getMessageServerHost()
Returns the SAP message server as specified in the destination
properties.
|
String |
getMessageServerService()
Returns the SAP message server port as specified in the destination
properties.
|
JCoDestinationMonitor |
getMonitor()
Return a monitor instance describes the client connections created by the JCo runtime
for this destination instance.
|
int |
getPeakLimit()
Returns the maximum number of connections, that can be created
for the destination simultaneously.
|
int |
getPoolCapacity()
Returns the maximum number of idle connections, that will be kept
open in a pool.
|
Properties |
getProperties()
Returns the complete property set describing the destination.
|
String |
getR3Name()
Returns the System ID of the SAP system as specified in the destination
properties.
|
JCoRepository |
getRepository()
Returns a repository instance that contains metadata for this
destination.
|
JCoDestinationMonitor |
getRepositoryDestinationMonitor()
Return a monitor instance describing the client connections that have been created by
the JCo runtime for the repository queries done via this destination instance.
|
String |
getRepositoryUser()
Returns the user that is used for communication when executing repository queries
via this destination if there is no repository destination configured.
|
String |
getSAPRouterString()
Returns the SAProuter string as specified in the destination
properties.
|
String |
getSncLibrary()
Returns the path to SNC library as specified in the destination
properties.
|
String |
getSncMode()
Returns the SNC mode as specified in the destination
properties.
|
String |
getSncMyName()
Returns the own SNC name as specified in the destination
properties.
|
String |
getSncPartnerName()
Returns the SNC partner as specified in the destination
properties.
|
String |
getSncQOP()
Returns the SNC level of security as specified in the destination
properties.
|
String |
getSncSSO()
Returns the SNC SSO mode as specified in the destination
properties.
|
String |
getSystemNumber()
Returns the SAP system number as specified in the destination
properties.
|
JCoThroughput |
getThroughput()
Returns the throughput instance.
|
String |
getTPHost()
Returns the host of external server program as specified in the destination
properties.
|
String |
getTPName()
Returns the Program ID of external server program as specified in the destination
properties.
|
char |
getType()
Returns the type of the destination.
|
String |
getUser()
Returns the logon user as specified in the destination
properties.
|
boolean |
isPooledConnectionChecked()
Returns whether a pooled connection will be checked for corruption
before being used for the next function module execution.
|
boolean |
isValid()
Returns true if the corresponding destination configuration was neither changed nor removed, false otherwise.
|
void |
ping()
Executes a connection test for this destination.
|
void |
removeThroughput()
Removes the throughput instance from the destination.
|
void |
setThroughput(JCoThroughput throughput)
sets the throughput instance to measure the call execute to this destination.
|
String getDestinationName()
String getDestinationID()
char getType()
3
- Destination to an ABAP system with unspecified logon method
A
- Destination to an ABAP system with direct application server host logon
B
- Destination to an ABAP system with message server driven load balanced logon
E
- Destination to an external RFC server program
R
- Destination to a registered RFC server program
N
- Destination to an on-premise ABAP system with unspecified logon method within SAP HANA Cloud Platform
String getApplicationServerHost()
String getSAPRouterString()
(/H/<host>[/S/<port>][/P/<password>])+
String getGatewayHost()
String getGatewayService()
String getSystemNumber()
String getLogonGroup()
String getMessageServerHost()
String getMessageServerService()
String getR3Name()
String getTPHost()
String getTPName()
String getSncLibrary()
String getSncMode()
String getSncMyName()
String getSncPartnerName()
String getSncQOP()
String getSncSSO()
String getAliasUser()
String getClient()
String getLanguage()
String getUser()
String getLogonCheck()
String getExternalIDData()
String getExternalIDType()
int getPeakLimit()
int getPoolCapacity()
long getExpirationTime()
long getExpirationCheckPeriod()
long getMaxGetClientTime()
boolean isPooledConnectionChecked()
Properties getProperties()
JCoAttributes getAttributes() throws JCoException
JCoException
- if an exception occurs during the initialization of the destinationJCoRepository getRepository() throws JCoException
JCoException
- if an exception occurs during the initialization of the destination
used by repository instanceString getRepositoryUser()
JCoCustomDestination createCustomDestination()
JCoCustomDestination.getUserLogonData()
,
JCoCustomDestination.getSNCConfiguration()
void confirmTID(String tid) throws JCoException
tid
- the ID of the transaction to confirmJCoException
- thrown if something went wrong during the confirmationString createTID() throws JCoException
JCoException
- thrown if something went wrong during the creationvoid confirmFunctionUnit(JCoUnitIdentifier unitIdentifier) throws JCoException
unitIdentifier
- the identifier of the function unitJCoException
- thrown if something went wrong during the confirmationJCoFunctionUnitState getFunctionUnitState(JCoUnitIdentifier unitIdentifier) throws JCoException
unitIdentifier
- the identifier of the function unitJCoException
- thrown if something went wrong during the confirmationvoid setThroughput(JCoThroughput throughput)
throughput
- JCoThroughput getThroughput()
void removeThroughput()
void ping() throws JCoException
JCoException
- thrown if something went wrong during the pingboolean isValid()
void changePassword(String oldPassword, String newPassword) throws JCoException
oldPassword
- the old password of the usernewPassword
- the new password chosen for the userJCoException
- thrown if something went wrong during the password changeJCoDestinationMonitor getMonitor() throws JCoRuntimeException
JCoRuntimeException
- in case of destination instance is already removed or was not
initialized properlyJCoDestinationMonitor getRepositoryDestinationMonitor()
Copyright © 2016 SAP. All Rights Reserved.