Class SoapMessageHandlerFactoryTemplate

java.lang.Object
com.aquima.interactions.test.templates.resource.SoapMessageHandlerFactoryTemplate

public class SoapMessageHandlerFactoryTemplate extends Object
Template that can be used to create a soap message handler factory.
Since:
9.5
Author:
Radu Batori
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constuct a soap handler factory template.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addHandler(String handlerTypeName, com.aquima.interactions.communication.ISoapMessageHandler handler)
    Add a soap handler implementation to this factory template.
    void
    addSoapServiceCall(String soapServiceCall, String handlerNames)
    Add the handler names for a soap service call.
    com.aquima.interactions.communication.ISoapMessageHandler
    getHandler(String handlerTypeName)
    This method returns a soap handler for a specified handler type name.
    com.aquima.interactions.communication.ISoapMessageHandler[]
    getSoapHandlers(String soapServiceCall)
    Get a list of handlers for a specified soap service call.
    com.aquima.interactions.communication.ISoapMessageHandlerFactory
    This method converts the template to a soap handler factory implementation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SoapMessageHandlerFactoryTemplate

      public SoapMessageHandlerFactoryTemplate()
      Constuct a soap handler factory template.
  • Method Details

    • addHandler

      public void addHandler(String handlerTypeName, com.aquima.interactions.communication.ISoapMessageHandler handler)
      Add a soap handler implementation to this factory template.
      Parameters:
      handlerTypeName - Soap handler type name.
      handler - Soap handler implementation.
    • getHandler

      public com.aquima.interactions.communication.ISoapMessageHandler getHandler(String handlerTypeName)
      This method returns a soap handler for a specified handler type name.
      Parameters:
      handlerTypeName - The soap handler type name to lookup the handler.
      Returns:
      The handler implementation (null, if none found)
    • addSoapServiceCall

      public void addSoapServiceCall(String soapServiceCall, String handlerNames)
      Add the handler names for a soap service call.
      Parameters:
      soapServiceCall - The service call name
      handlerNames - A comma-separated list of handler names
    • getSoapHandlers

      public com.aquima.interactions.communication.ISoapMessageHandler[] getSoapHandlers(String soapServiceCall)
      Get a list of handlers for a specified soap service call.
      Parameters:
      soapServiceCall - The service call name
      Returns:
      An array of ISoapMessageHandler instances, never null
    • toFactory

      public com.aquima.interactions.communication.ISoapMessageHandlerFactory toFactory()
      This method converts the template to a soap handler factory implementation.
      Returns:
      Soap handler factory implementation based on the template.