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 Details

    • SimpleMappingStrategy

      public SimpleMappingStrategy()
  • Method Details

    • getEndpointAdapter

      public org.citrusframework.endpoint.EndpointAdapter getEndpointAdapter(String mappingKey)
      Specified by:
      getEndpointAdapter in interface org.citrusframework.endpoint.adapter.mapping.EndpointAdapterMappingStrategy
    • setAdapterMappings

      public void setAdapterMappings(Map<String,org.citrusframework.endpoint.EndpointAdapter> mappings)
      Sets the endpoint adapter mappings.
      Parameters:
      mappings -