Class SoapMessageHandlerFactoryTemplate
java.lang.Object
com.aquima.interactions.test.templates.resource.SoapMessageHandlerFactoryTemplate
Template that can be used to create a soap message handler factory.
- Since:
- 9.5
- Author:
- Radu Batori
-
Constructor Summary
ConstructorsConstructorDescriptionConstuct a soap handler factory template. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
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
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
Add the handler names for a soap service call.- Parameters:
soapServiceCall
- The service call namehandlerNames
- 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.
-