Class SimpleMappingStrategy
- java.lang.Object
-
- com.consol.citrus.endpoint.adapter.mapping.SimpleMappingStrategy
-
- All Implemented Interfaces:
com.consol.citrus.endpoint.adapter.mapping.EndpointAdapterMappingStrategy
public class SimpleMappingStrategy extends Object implements com.consol.citrus.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
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description SimpleMappingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.consol.citrus.endpoint.EndpointAdapter
getEndpointAdapter(String mappingKey)
void
setAdapterMappings(Map<String,com.consol.citrus.endpoint.EndpointAdapter> mappings)
Sets the endpoint adapter mappings.
-
-
-
Method Detail
-
getEndpointAdapter
public com.consol.citrus.endpoint.EndpointAdapter getEndpointAdapter(String mappingKey)
- Specified by:
getEndpointAdapter
in interfacecom.consol.citrus.endpoint.adapter.mapping.EndpointAdapterMappingStrategy
-
-