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 Summary
Modifier and TypeMethodDescriptionstatic 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.getSoapHandler
(String soapHandlerType) Get a handler instance based on the annotated namegetSoapHandlers
(String soapServiceCall) Get a list ofISoapMessageHandler
instances for a soap service call
-
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
Description copied from interface:ISoapMessageHandlerFactory
Get a handler instance based on the annotated name- Specified by:
getSoapHandler
in interfaceISoapMessageHandlerFactory
- Parameters:
soapHandlerType
- The name in the annotated type- Returns:
- The handler instance, or
null
if no handler with the given name is found
-
getSoapHandlers
Description copied from interface:ISoapMessageHandlerFactory
Get a list ofISoapMessageHandler
instances for a soap service call- Specified by:
getSoapHandlers
in interfaceISoapMessageHandlerFactory
- Parameters:
soapServiceCall
- The soap service call- Returns:
- An array of handlers, never null
-