Class LinkedSoapMessageHandlerFactory

java.lang.Object
com.aquima.interactions.portal.model.factory.LinkedSoapMessageHandlerFactory
All Implemented Interfaces:
ISoapMessageHandlerFactory

public final class LinkedSoapMessageHandlerFactory extends Object implements ISoapMessageHandlerFactory
Soap message handler factory that combines two handler factories.
Since:
9.5
Author:
Radu Batori
  • Method Details

    • createFor

      public static ISoapMessageHandlerFactory createFor(ISoapMessageHandlerFactory factory, ISoapMessageHandlerFactory defaultFactory)
      This method returns a handler factory implementation that combines both the domain factories that are passed to this method.
      Parameters:
      factory - The handler factory that should be used first when requesting a domain (optional).
      defaultFactory - The handler factory that should be used when the first did not supply a domain implementation (mandatory).
      Returns:
      a handler factory implementation that combines both the handler factories that are passed to this method.
    • getSoapHandler

      public ISoapMessageHandler getSoapHandler(String soapHandlerType)
      Description copied from interface: ISoapMessageHandlerFactory
      Get a handler instance based on the annotated name
      Specified by:
      getSoapHandler in interface ISoapMessageHandlerFactory
      Parameters:
      soapHandlerType - The name in the annotated type
      Returns:
      The handler instance, or null if no handler with the given name is found
    • getSoapHandlers

      public ISoapMessageHandler[] getSoapHandlers(String soapServiceCall)
      Description copied from interface: ISoapMessageHandlerFactory
      Get a list of ISoapMessageHandler instances for a soap service call
      Specified by:
      getSoapHandlers in interface ISoapMessageHandlerFactory
      Parameters:
      soapServiceCall - The soap service call
      Returns:
      An array of handlers, never null