Class SimpleMappingStrategy
java.lang.Object
org.citrusframework.endpoint.adapter.mapping.SimpleMappingStrategy
- All Implemented Interfaces:
org.citrusframework.endpoint.adapter.mapping.EndpointAdapterMappingStrategy
public class SimpleMappingStrategy
extends Object
implements org.citrusframework.endpoint.adapter.mapping.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 TypeMethodDescriptionorg.citrusframework.endpoint.EndpointAdaptergetEndpointAdapter(String mappingKey) voidsetAdapterMappings(Map<String, org.citrusframework.endpoint.EndpointAdapter> mappings) Sets the endpoint adapter mappings.
-
Constructor Details
-
SimpleMappingStrategy
public SimpleMappingStrategy()
-
-
Method Details
-
getEndpointAdapter
- Specified by:
getEndpointAdapterin interfaceorg.citrusframework.endpoint.adapter.mapping.EndpointAdapterMappingStrategy
-
setAdapterMappings
Sets the endpoint adapter mappings.- Parameters:
mappings-
-