Class DefaultRFCDestinationService
- java.lang.Object
-
- de.hybris.platform.sap.core.configuration.rfc.impl.DefaultRFCDestinationService
-
- All Implemented Interfaces:
RFCDestinationService
public class DefaultRFCDestinationService extends java.lang.Object implements RFCDestinationService
Default implementation which returns a RFC Destination.
-
-
Constructor Summary
Constructors Constructor Description DefaultRFCDestinationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRFCDestination(java.lang.String destinationName, RFCDestination rfcDestination)Add RFCDestination to map.RFCDestinationgetRFCDestination(java.lang.String destinationName)Returns the SAP RFC Destination for the given name.voidremoveRFCDestination(java.lang.String destinationName)Remove RFCDestination from map.voidsetRFCDestinations(java.util.Map<java.lang.String,RFCDestination> rfcDestinations)Injection setter for RFCDestination map.
-
-
-
Method Detail
-
setRFCDestinations
public void setRFCDestinations(java.util.Map<java.lang.String,RFCDestination> rfcDestinations)
Injection setter for RFCDestination map.- Parameters:
rfcDestinations- map of RFC destinations
-
addRFCDestination
public void addRFCDestination(java.lang.String destinationName, RFCDestination rfcDestination)Add RFCDestination to map.- Parameters:
destinationName- destination namerfcDestination- RFC destination
-
removeRFCDestination
public void removeRFCDestination(java.lang.String destinationName)
Remove RFCDestination from map.- Parameters:
destinationName- destination name
-
getRFCDestination
public RFCDestination getRFCDestination(java.lang.String destinationName)
Description copied from interface:RFCDestinationServiceReturns the SAP RFC Destination for the given name.- Specified by:
getRFCDestinationin interfaceRFCDestinationService- Parameters:
destinationName- RFC Destination name- Returns:
- list
-
-