Class SimpleMappingStrategy
java.lang.Object
org.citrusframework.endpoint.adapter.mapping.SimpleMappingStrategy
- All Implemented Interfaces:
EndpointAdapterMappingStrategy
Endpoint adapter mapping strategy simply holds a map of mapping keys and adapter instances. Searches for available mapping key
and returns respective adapter implementation.
- Since:
- 1.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEndpointAdapter(String mappingKey) voidsetAdapterMappings(Map<String, EndpointAdapter> mappings) Sets the endpoint adapter mappings.
-
Constructor Details
-
SimpleMappingStrategy
public SimpleMappingStrategy()
-
-
Method Details
-
getEndpointAdapter
- Specified by:
getEndpointAdapterin interfaceEndpointAdapterMappingStrategy
-
setAdapterMappings
Sets the endpoint adapter mappings.- Parameters:
mappings-
-