Class RFCDirectoryDestinationDataProvider

java.lang.Object
de.hybris.platform.sap.core.jco.test.RFCDirectoryDestinationDataProvider
All Implemented Interfaces:
com.sap.conn.jco.ext.DestinationDataProvider

public class RFCDirectoryDestinationDataProvider extends Object implements com.sap.conn.jco.ext.DestinationDataProvider
  • Field Summary

    Fields inherited from interface com.sap.conn.jco.ext.DestinationDataProvider

    JCO_ALIAS_USER, JCO_ASHOST, JCO_AUTH_TYPE, JCO_AUTH_TYPE_CONFIGURED_USER, JCO_AUTH_TYPE_CURRENT_USER, JCO_CLIENT, JCO_CODEPAGE, JCO_CPIC_TRACE, JCO_DELTA, JCO_DENY_INITIAL_PASSWORD, JCO_DEST, JCO_EXPIRATION_PERIOD, JCO_EXPIRATION_TIME, JCO_EXTID_DATA, JCO_EXTID_TYPE, JCO_GETSSO2, JCO_GROUP, JCO_GWHOST, JCO_GWSERV, JCO_LANG, JCO_LCHECK, JCO_MAX_GET_TIME, JCO_MSHOST, JCO_MSSERV, JCO_MYSAPSSO2, JCO_NETWORK, JCO_OIDC_BEARER_TOKEN, JCO_PASSWD, JCO_PCS, JCO_PEAK_LIMIT, JCO_PING_CHECK_INTERVAL, JCO_POOL_CAPACITY, JCO_POOL_CHECK_CONNECTION, JCO_PROXY_HOST, JCO_PROXY_PASSWD, JCO_PROXY_PORT, JCO_PROXY_USER, JCO_R3NAME, JCO_REPOSITORY_CHECK_INTERVAL, JCO_REPOSITORY_DEST, JCO_REPOSITORY_PASSWD, JCO_REPOSITORY_ROUNDTRIP_OPTIMIZATION, JCO_REPOSITORY_SNC, JCO_REPOSITORY_USER, JCO_SAPROUTER, JCO_SERIALIZATION_FORMAT, JCO_SNC_LIBRARY, JCO_SNC_MODE, JCO_SNC_MYNAME, JCO_SNC_PARTNERNAME, JCO_SNC_QOP, JCO_SNC_SSO, JCO_STICKY_ASHOST, JCO_SYSNR, JCO_TLS_CLIENT_CERTIFICATE_LOGON, JCO_TLS_P12FILE, JCO_TLS_P12PASSWD, JCO_TLS_TRUST_ALL, JCO_TPHOST, JCO_TPNAME, JCO_TRACE, JCO_TYPE, JCO_USE_BASXML, JCO_USE_SAPGUI, JCO_USE_TLS, JCO_USER, JCO_WSHOST, JCO_WSPORT, JCO_X509CERT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Searches for JCo Destination files in the file directory.
    Getter for directoryPath.
    Getter for extensionNames.
    void
    Init method.
    void
    setDestinationDataEventListener(com.sap.conn.jco.ext.DestinationDataEventListener eventListener)
     
    void
    setDirectoryPaths(List<String> directoryPaths)
    Setter for directoryPaths.
    void
    setExtensionNames(List<String> extensionNames)
    Setter for extensionNames.
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.sap.conn.jco.ext.DestinationDataProvider

    getClientCertificate, getSSLContext
  • Constructor Details

    • RFCDirectoryDestinationDataProvider

      public RFCDirectoryDestinationDataProvider()
  • Method Details

    • getExtensionNames

      public List<String> getExtensionNames()
      Getter for extensionNames.
      Returns:
      extension names
    • setExtensionNames

      public void setExtensionNames(List<String> extensionNames)
      Setter for extensionNames.
      Parameters:
      extensionNames - extension names
    • setDirectoryPaths

      public void setDirectoryPaths(List<String> directoryPaths)
      Setter for directoryPaths.
      Parameters:
      directoryPaths - directory paths
    • getDirectoryPaths

      public List<String> getDirectoryPaths()
      Getter for directoryPath.
      Returns:
      directory path
    • init

      public void init()
      Init method. Register the destination provider in JCO Environment.
    • getDestinationProperties

      public Properties getDestinationProperties(String destination)
      Searches for JCo Destination files in the file directory. In case of the JCo Destination file could not be found a RFCDirectoryDestinationDataProviderException is raised.
      Specified by:
      getDestinationProperties in interface com.sap.conn.jco.ext.DestinationDataProvider
      Parameters:
      destination - destination
      Returns:
      JCo Destination properties
      See Also:
      • DestinationDataProvider.getDestinationProperties(java.lang.String)
    • setDestinationDataEventListener

      public void setDestinationDataEventListener(com.sap.conn.jco.ext.DestinationDataEventListener eventListener)
      Specified by:
      setDestinationDataEventListener in interface com.sap.conn.jco.ext.DestinationDataProvider
    • supportsEvents

      public boolean supportsEvents()
      Specified by:
      supportsEvents in interface com.sap.conn.jco.ext.DestinationDataProvider