Class DefaultConsumedDestinationLocatorStrategy
- java.lang.Object
-
- de.hybris.platform.apiregistryservices.strategies.impl.DefaultConsumedDestinationLocatorStrategy
-
- All Implemented Interfaces:
ConsumedDestinationLocatorStrategy
public class DefaultConsumedDestinationLocatorStrategy extends java.lang.Object implements ConsumedDestinationLocatorStrategy
Default implementation of interfaceConsumedDestinationLocatorStrategy: Find theConsumedDestinationModelby client type name
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCLIENT_CLASS_NAME
-
Constructor Summary
Constructors Constructor Description DefaultConsumedDestinationLocatorStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DestinationService<AbstractDestinationModel>getDestinationService()ConsumedDestinationModellookup(java.lang.String clientTypeName)Lookup the consumed destination for the given client typevoidsetDestinationService(DestinationService<AbstractDestinationModel> destinationService)
-
-
-
Field Detail
-
CLIENT_CLASS_NAME
public static final java.lang.String CLIENT_CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
lookup
public ConsumedDestinationModel lookup(java.lang.String clientTypeName)
Description copied from interface:ConsumedDestinationLocatorStrategyLookup the consumed destination for the given client type- Specified by:
lookupin interfaceConsumedDestinationLocatorStrategy- Parameters:
clientTypeName- the name of client type- Returns:
- the consumed destination for the given client type
-
getDestinationService
protected DestinationService<AbstractDestinationModel> getDestinationService()
-
setDestinationService
public void setDestinationService(DestinationService<AbstractDestinationModel> destinationService)
-
-