Runtime tools : Service components : Host Access Manager : Build-in connectors and extension
  
Build-in connectors and extension
UDTT provides two build-in connectors for Host Access Manager: Host MQ Connector and Host SNA LU62 Connector. They both leverage UDTT legacy MQ and SNA connectors and wrap with the host access manager API and functions.
Host MQ Connector
The definition of the Host MQ Connector using the UDTT tooling editor is shown in the following diagram. The built-in implementation class of the connector is HostMQConnector.
This graphic is described in the surrounding text.
The corresponding XML of above definition is:
<service id="hostMQConnector" refService="mqConnService" implClass="com.unicom.dtt.host.connector.mq.HostMQConnector" pool="commPool"/>
Note the definition refService="mqConnService" refer the legacy UDTT MQ service:
<service id="mqConnService" QMgrName="QMS" channel="CLIENT.CON.1" charSet="1381" hostName="127.0.0.1" implClass="com.ibm.btt.services.mq.MQConnection" port="1818" replyToQ="QS2" sendToQ="QS3" serverOrClient="client" synchronousMode="enabled"/>
For more information on the legacy UDTT MQ service, please refer the document UDTT MQ service document link.
Host SNA LU62 Connector
The Host SNA LU62 Connector is based on legacy JCA SNA LU62 Connector, but the JCA API is replaced with Host Access Manager common API and support new features of Host Access Managers. The build in implementation class of the connector is HostLu62Connector. Not like Host MQ Connector, all the properties of legacy connector are defined together in Host LU62 Connector. The following is a definition example in UDTT tooling’s service editor.
This graphic is described in the surrounding text.
For more information on the legacy JCA SNA LU62, please refer the document JCA SNA LU62 Connector document link.
Extension for new host access connector
Besides UDTT pre-built host access connectors, users can very easily extend to support new host connectors. The following interfaces are required to be implemented for extension:
- com.unicom.dtt.host.connector.HostConnector
- com.unicom.dtt.host.connector.HostConnectionFactory
- com.unicom.dtt.host.connection.HostConnection
- com.unicom.dtt.host.interaction.HostInteraction
- com.unicom.dtt.host.interaction.HostInteractionSpec (optional)
- com.unicom.dtt.host.connection.HostConnectionSpec (optional)
- com.unicom.dtt.host. connection.HostConnectionEventListener (optional)
Users can refer to the source code of Host Access Manager for detail on extension.
Go up to
Host Access Manager