Class DefaultRFCDestinationService

java.lang.Object
de.hybris.platform.sap.core.configuration.rfc.impl.DefaultRFCDestinationService
All Implemented Interfaces:
RFCDestinationService

public class DefaultRFCDestinationService extends Object implements RFCDestinationService
Default implementation which returns a RFC Destination.
  • Constructor Details

    • DefaultRFCDestinationService

      public DefaultRFCDestinationService()
  • Method Details

    • setRFCDestinations

      public void setRFCDestinations(Map<String,RFCDestination> rfcDestinations)
      Injection setter for RFCDestination map.
      Parameters:
      rfcDestinations - map of RFC destinations
    • addRFCDestination

      public void addRFCDestination(String destinationName, RFCDestination rfcDestination)
      Add RFCDestination to map.
      Parameters:
      destinationName - destination name
      rfcDestination - RFC destination
    • removeRFCDestination

      public void removeRFCDestination(String destinationName)
      Remove RFCDestination from map.
      Parameters:
      destinationName - destination name
    • getRFCDestination

      public RFCDestination getRFCDestination(String destinationName)
      Description copied from interface: RFCDestinationService
      Returns the SAP RFC Destination for the given name.
      Specified by:
      getRFCDestination in interface RFCDestinationService
      Parameters:
      destinationName - RFC Destination name
      Returns:
      list