Class RFCDestinationImpl

  • All Implemented Interfaces:
    RFCDestination

    public class RFCDestinationImpl
    extends java.lang.Object
    implements RFCDestination
    Implementation of RFC Destination.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBackendType()
      Returns the backend type.
      java.lang.String getClient()
      Returns the client.
      java.lang.Boolean getConnectionType()
      Returns the type of connection (server or group connection).
      java.lang.String getGroup()
      Returns the logon group name.
      java.lang.String getInstance()
      Returns the instance number of the application server (for server connection only).
      java.lang.Boolean getJcoClientDelta()
      Returns the indicator for table parameter delta management (1 - enable [default] or 0 - disable).
      java.lang.String getJcoCPICTrace()
      Returns the CPIC trace (-1 [take over environment value 'CPIC_TRACE'], 0 no trace, 1,2,3 different trace levels).
      java.lang.String getJcoMsServ()
      Returns the SAP message server or port number.
      java.lang.String getJcoSAPRouter()
      Returns the SAP router string to use for networks being protected by a firewall.
      java.lang.String getJcoTraceLevel()
      Returns the JCo trace level (0-10).
      java.lang.String getJcoTracePath()
      Returns the JCo trace path (null, stdout, stderr or an existing path are allowed).
      java.lang.String getMaxConnections()
      Returns the maximum number of connections.
      java.lang.String getMaxWaitTime()
      Returns the maximum waiting time in milliseconds.
      java.lang.String getMessageServer()
      Returns the message server (for group connection).
      java.lang.String getPassword()
      Returns the password.
      java.lang.Boolean getPooledConnectionMode()
      Returns the indicator whether a pooled connection mode is enabled.
      java.lang.String getPoolSize()
      Returns the pool size.
      java.util.Collection<RFCDestinationAttributeModel> getRFCDestinationAttributes()
      Returns the additional Attributes for RFC Destination.
      java.lang.String getRfcDestinationName()
      Returns the RFC destination name.
      java.lang.String getSid()
      Returns the system id.
      java.lang.String getSncPartnerName()
      Returns SNC name of the communication partner (application server).
      java.lang.String getSncQOP()
      Returns the SNC security level / quality of service.
      java.lang.String getTargetHost()
      Returns the host name of the target application server (for server connection) or the message server (for group connection).
      java.lang.String getUserid()
      Returns the user id.
      java.lang.Boolean isJcoRFCTraceEnabled()
      Returns the indicator whether JCo RFC trace is enabled (0 or 1).
      boolean isOffline()
      Returns the offline indicator.
      java.lang.Boolean isSncEnabled()
      Returns the indicator whether SNC is enabled.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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: RFCDestination
        Returns the password.
        Specified by:
        getPassword in interface RFCDestination
        Returns:
        the password
      • getSid

        public java.lang.String getSid()
        Description copied from interface: RFCDestination
        Returns the system id.
        Specified by:
        getSid in interface RFCDestination
        Returns:
        the sid
      • getGroup

        public java.lang.String getGroup()
        Description copied from interface: RFCDestination
        Returns the logon group name.
        Specified by:
        getGroup in interface RFCDestination
        Returns:
        the group
      • getPoolSize

        public java.lang.String getPoolSize()
        Description copied from interface: RFCDestination
        Returns the pool size.
        Specified by:
        getPoolSize in interface RFCDestination
        Returns:
        the poolSize
      • getClient

        public java.lang.String getClient()
        Description copied from interface: RFCDestination
        Returns the client.
        Specified by:
        getClient in interface RFCDestination
        Returns:
        the client
      • getMaxWaitTime

        public java.lang.String getMaxWaitTime()
        Description copied from interface: RFCDestination
        Returns the maximum waiting time in milliseconds.
        Specified by:
        getMaxWaitTime in interface RFCDestination
        Returns:
        the maxWaitTime
      • getTargetHost

        public java.lang.String getTargetHost()
        Description copied from interface: RFCDestination
        Returns the host name of the target application server (for server connection) or the message server (for group connection).
        Specified by:
        getTargetHost in interface RFCDestination
        Returns:
        the targetHost
      • getUserid

        public java.lang.String getUserid()
        Description copied from interface: RFCDestination
        Returns the user id.
        Specified by:
        getUserid in interface RFCDestination
        Returns:
        the userid
      • getPooledConnectionMode

        public java.lang.Boolean getPooledConnectionMode()
        Description copied from interface: RFCDestination
        Returns the indicator whether a pooled connection mode is enabled.
        Specified by:
        getPooledConnectionMode in interface RFCDestination
        Returns:
        the pooledConnectionMode
      • getMessageServer

        public java.lang.String getMessageServer()
        Description copied from interface: RFCDestination
        Returns the message server (for group connection).
        Specified by:
        getMessageServer in interface RFCDestination
        Returns:
        the messageServer
      • getInstance

        public java.lang.String getInstance()
        Description copied from interface: RFCDestination
        Returns the instance number of the application server (for server connection only).
        Specified by:
        getInstance in interface RFCDestination
        Returns:
        the instance
      • getMaxConnections

        public java.lang.String getMaxConnections()
        Description copied from interface: RFCDestination
        Returns the maximum number of connections.
        Specified by:
        getMaxConnections in interface RFCDestination
        Returns:
        the maxConnections
      • getRfcDestinationName

        public java.lang.String getRfcDestinationName()
        Description copied from interface: RFCDestination
        Returns the RFC destination name.
        Specified by:
        getRfcDestinationName in interface RFCDestination
        Returns:
        the rfcDestinationName
      • getConnectionType

        public java.lang.Boolean getConnectionType()
        Description copied from interface: RFCDestination
        Returns the type of connection (server or group connection).
        Specified by:
        getConnectionType in interface RFCDestination
        Returns:
        the connectionType
      • getJcoTraceLevel

        public java.lang.String getJcoTraceLevel()
        Description copied from interface: RFCDestination
        Returns the JCo trace level (0-10).
        Specified by:
        getJcoTraceLevel in interface RFCDestination
        Returns:
        the jcoTraceLevel - Turns on the JCo trace. Allowed levels are [0 .. 10]
      • getJcoTracePath

        public java.lang.String getJcoTracePath()
        Description copied from interface: RFCDestination
        Returns the JCo trace path (null, stdout, stderr or an existing path are allowed).
        Specified by:
        getJcoTracePath in interface RFCDestination
        Returns:
        the jcoTracePath
      • isJcoRFCTraceEnabled

        public java.lang.Boolean isJcoRFCTraceEnabled()
        Description copied from interface: RFCDestination
        Returns the indicator whether JCo RFC trace is enabled (0 or 1).
        Specified by:
        isJcoRFCTraceEnabled in interface RFCDestination
        Returns:
        the jcoRFCTrace
      • getJcoCPICTrace

        public java.lang.String getJcoCPICTrace()
        Description copied from interface: RFCDestination
        Returns the CPIC trace (-1 [take over environment value 'CPIC_TRACE'], 0 no trace, 1,2,3 different trace levels).
        Specified by:
        getJcoCPICTrace in interface RFCDestination
        Returns:
        the jcoCPICTrace - Enable/disable CPIC trace
      • getJcoMsServ

        public java.lang.String getJcoMsServ()
        Description copied from interface: RFCDestination
        Returns the SAP message server or port number.
        Specified by:
        getJcoMsServ in interface RFCDestination
        Returns:
        the jcoMsServ
      • getJcoSAPRouter

        public java.lang.String getJcoSAPRouter()
        Description copied from interface: RFCDestination
        Returns the SAP router string to use for networks being protected by a firewall.
        Specified by:
        getJcoSAPRouter in interface RFCDestination
        Returns:
        the jcoSAPRouter string
      • getJcoClientDelta

        public java.lang.Boolean getJcoClientDelta()
        Description copied from interface: RFCDestination
        Returns the indicator for table parameter delta management (1 - enable [default] or 0 - disable).
        Specified by:
        getJcoClientDelta in interface RFCDestination
        Returns:
        the jcoClientDelta indicator
      • getBackendType

        public java.lang.String getBackendType()
        Description copied from interface: RFCDestination
        Returns the backend type.
        Specified by:
        getBackendType in interface RFCDestination
        Returns:
        the backend Type
      • isSncEnabled

        public java.lang.Boolean isSncEnabled()
        Description copied from interface: RFCDestination
        Returns the indicator whether SNC is enabled.
        Specified by:
        isSncEnabled in interface RFCDestination
        Returns:
        true, if SNC is enabled
      • getSncQOP

        public java.lang.String getSncQOP()
        Description copied from interface: RFCDestination
        Returns the SNC security level / quality of service.
        Specified by:
        getSncQOP in interface RFCDestination
        Returns:
        SNC security level / quality of service
      • getSncPartnerName

        public java.lang.String getSncPartnerName()
        Description copied from interface: RFCDestination
        Returns SNC name of the communication partner (application server).
        Specified by:
        getSncPartnerName in interface RFCDestination
        Returns:
        name of SNC partner
      • isOffline

        public boolean isOffline()
        Description copied from interface: RFCDestination
        Returns the offline indicator.
        Specified by:
        isOffline in interface RFCDestination
        Returns:
        true if offline
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object