Class RFCDestinationImpl
- java.lang.Object
-
- de.hybris.platform.sap.core.configuration.rfc.impl.RFCDestinationImpl
-
- All Implemented Interfaces:
RFCDestination
public class RFCDestinationImpl extends java.lang.Object implements RFCDestination
Implementation of RFC Destination.
-
-
Constructor Summary
Constructors Constructor Description RFCDestinationImpl(SAPRFCDestinationModel model)Constructor using SAP RFC Destination model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBackendType()Returns the backend type.java.lang.StringgetClient()Returns the client.java.lang.BooleangetConnectionType()Returns the type of connection (server or group connection).java.lang.StringgetGroup()Returns the logon group name.java.lang.StringgetInstance()Returns the instance number of the application server (for server connection only).java.lang.BooleangetJcoClientDelta()Returns the indicator for table parameter delta management (1 - enable [default] or 0 - disable).java.lang.StringgetJcoCPICTrace()Returns the CPIC trace (-1 [take over environment value 'CPIC_TRACE'], 0 no trace, 1,2,3 different trace levels).java.lang.StringgetJcoMsServ()Returns the SAP message server or port number.java.lang.StringgetJcoSAPRouter()Returns the SAP router string to use for networks being protected by a firewall.java.lang.StringgetJcoTraceLevel()Returns the JCo trace level (0-10).java.lang.StringgetJcoTracePath()Returns the JCo trace path (null, stdout, stderr or an existing path are allowed).java.lang.StringgetMaxConnections()Returns the maximum number of connections.java.lang.StringgetMaxWaitTime()Returns the maximum waiting time in milliseconds.java.lang.StringgetMessageServer()Returns the message server (for group connection).java.lang.StringgetPassword()Returns the password.java.lang.BooleangetPooledConnectionMode()Returns the indicator whether a pooled connection mode is enabled.java.lang.StringgetPoolSize()Returns the pool size.java.util.Collection<RFCDestinationAttributeModel>getRFCDestinationAttributes()Returns the additional Attributes for RFC Destination.java.lang.StringgetRfcDestinationName()Returns the RFC destination name.java.lang.StringgetSid()Returns the system id.java.lang.StringgetSncPartnerName()Returns SNC name of the communication partner (application server).java.lang.StringgetSncQOP()Returns the SNC security level / quality of service.java.lang.StringgetTargetHost()Returns the host name of the target application server (for server connection) or the message server (for group connection).java.lang.StringgetUserid()Returns the user id.java.lang.BooleanisJcoRFCTraceEnabled()Returns the indicator whether JCo RFC trace is enabled (0 or 1).booleanisOffline()Returns the offline indicator.java.lang.BooleanisSncEnabled()Returns the indicator whether SNC is enabled.java.lang.StringtoString()
-
-
-
Constructor Detail
-
RFCDestinationImpl
public RFCDestinationImpl(SAPRFCDestinationModel model)
Constructor using SAP RFC Destination model.- Parameters:
model- SAP RFC Destination model
-
-
Method Detail
-
getPassword
public java.lang.String getPassword()
Description copied from interface:RFCDestinationReturns the password.- Specified by:
getPasswordin interfaceRFCDestination- Returns:
- the password
-
getSid
public java.lang.String getSid()
Description copied from interface:RFCDestinationReturns the system id.- Specified by:
getSidin interfaceRFCDestination- Returns:
- the sid
-
getGroup
public java.lang.String getGroup()
Description copied from interface:RFCDestinationReturns the logon group name.- Specified by:
getGroupin interfaceRFCDestination- Returns:
- the group
-
getPoolSize
public java.lang.String getPoolSize()
Description copied from interface:RFCDestinationReturns the pool size.- Specified by:
getPoolSizein interfaceRFCDestination- Returns:
- the poolSize
-
getClient
public java.lang.String getClient()
Description copied from interface:RFCDestinationReturns the client.- Specified by:
getClientin interfaceRFCDestination- Returns:
- the client
-
getMaxWaitTime
public java.lang.String getMaxWaitTime()
Description copied from interface:RFCDestinationReturns the maximum waiting time in milliseconds.- Specified by:
getMaxWaitTimein interfaceRFCDestination- Returns:
- the maxWaitTime
-
getTargetHost
public java.lang.String getTargetHost()
Description copied from interface:RFCDestinationReturns the host name of the target application server (for server connection) or the message server (for group connection).- Specified by:
getTargetHostin interfaceRFCDestination- Returns:
- the targetHost
-
getUserid
public java.lang.String getUserid()
Description copied from interface:RFCDestinationReturns the user id.- Specified by:
getUseridin interfaceRFCDestination- Returns:
- the userid
-
getPooledConnectionMode
public java.lang.Boolean getPooledConnectionMode()
Description copied from interface:RFCDestinationReturns the indicator whether a pooled connection mode is enabled.- Specified by:
getPooledConnectionModein interfaceRFCDestination- Returns:
- the pooledConnectionMode
-
getMessageServer
public java.lang.String getMessageServer()
Description copied from interface:RFCDestinationReturns the message server (for group connection).- Specified by:
getMessageServerin interfaceRFCDestination- Returns:
- the messageServer
-
getInstance
public java.lang.String getInstance()
Description copied from interface:RFCDestinationReturns the instance number of the application server (for server connection only).- Specified by:
getInstancein interfaceRFCDestination- Returns:
- the instance
-
getMaxConnections
public java.lang.String getMaxConnections()
Description copied from interface:RFCDestinationReturns the maximum number of connections.- Specified by:
getMaxConnectionsin interfaceRFCDestination- Returns:
- the maxConnections
-
getRfcDestinationName
public java.lang.String getRfcDestinationName()
Description copied from interface:RFCDestinationReturns the RFC destination name.- Specified by:
getRfcDestinationNamein interfaceRFCDestination- Returns:
- the rfcDestinationName
-
getConnectionType
public java.lang.Boolean getConnectionType()
Description copied from interface:RFCDestinationReturns the type of connection (server or group connection).- Specified by:
getConnectionTypein interfaceRFCDestination- Returns:
- the connectionType
-
getJcoTraceLevel
public java.lang.String getJcoTraceLevel()
Description copied from interface:RFCDestinationReturns the JCo trace level (0-10).- Specified by:
getJcoTraceLevelin interfaceRFCDestination- Returns:
- the jcoTraceLevel - Turns on the JCo trace. Allowed levels are [0 .. 10]
-
getJcoTracePath
public java.lang.String getJcoTracePath()
Description copied from interface:RFCDestinationReturns the JCo trace path (null, stdout, stderr or an existing path are allowed).- Specified by:
getJcoTracePathin interfaceRFCDestination- Returns:
- the jcoTracePath
-
isJcoRFCTraceEnabled
public java.lang.Boolean isJcoRFCTraceEnabled()
Description copied from interface:RFCDestinationReturns the indicator whether JCo RFC trace is enabled (0 or 1).- Specified by:
isJcoRFCTraceEnabledin interfaceRFCDestination- Returns:
- the jcoRFCTrace
-
getJcoCPICTrace
public java.lang.String getJcoCPICTrace()
Description copied from interface:RFCDestinationReturns the CPIC trace (-1 [take over environment value 'CPIC_TRACE'], 0 no trace, 1,2,3 different trace levels).- Specified by:
getJcoCPICTracein interfaceRFCDestination- Returns:
- the jcoCPICTrace - Enable/disable CPIC trace
-
getJcoMsServ
public java.lang.String getJcoMsServ()
Description copied from interface:RFCDestinationReturns the SAP message server or port number.- Specified by:
getJcoMsServin interfaceRFCDestination- Returns:
- the jcoMsServ
-
getJcoSAPRouter
public java.lang.String getJcoSAPRouter()
Description copied from interface:RFCDestinationReturns the SAP router string to use for networks being protected by a firewall.- Specified by:
getJcoSAPRouterin interfaceRFCDestination- Returns:
- the jcoSAPRouter string
-
getJcoClientDelta
public java.lang.Boolean getJcoClientDelta()
Description copied from interface:RFCDestinationReturns the indicator for table parameter delta management (1 - enable [default] or 0 - disable).- Specified by:
getJcoClientDeltain interfaceRFCDestination- Returns:
- the jcoClientDelta indicator
-
getBackendType
public java.lang.String getBackendType()
Description copied from interface:RFCDestinationReturns the backend type.- Specified by:
getBackendTypein interfaceRFCDestination- Returns:
- the backend Type
-
isSncEnabled
public java.lang.Boolean isSncEnabled()
Description copied from interface:RFCDestinationReturns the indicator whether SNC is enabled.- Specified by:
isSncEnabledin interfaceRFCDestination- Returns:
- true, if SNC is enabled
-
getSncQOP
public java.lang.String getSncQOP()
Description copied from interface:RFCDestinationReturns the SNC security level / quality of service.- Specified by:
getSncQOPin interfaceRFCDestination- Returns:
- SNC security level / quality of service
-
getSncPartnerName
public java.lang.String getSncPartnerName()
Description copied from interface:RFCDestinationReturns SNC name of the communication partner (application server).- Specified by:
getSncPartnerNamein interfaceRFCDestination- Returns:
- name of SNC partner
-
isOffline
public boolean isOffline()
Description copied from interface:RFCDestinationReturns the offline indicator.- Specified by:
isOfflinein interfaceRFCDestination- Returns:
- true if offline
-
getRFCDestinationAttributes
public java.util.Collection<RFCDestinationAttributeModel> getRFCDestinationAttributes()
Description copied from interface:RFCDestinationReturns the additional Attributes for RFC Destination.- Specified by:
getRFCDestinationAttributesin interfaceRFCDestination- Returns:
- the collection of attributes
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-