<?xml version="1.0" encoding="UTF-8"?> <connector xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd" version="1.5"> <description>XPTO Connector</description> <display-name>HostConnector</display-name> <vendor-name>MyCompany</vendor-name> <eis-type>SocketIO</eis-type> <resourceadapter-version>4.0</resourceadapter-version> <license> <description>LGPL</description> <license-required>false</license-required> </license> <resourceadapter> <resourceadapter-class>mycompany.connector.HstConnectorRA</resourceadapter-class> <outbound-resourceadapter> <connection-definition> <managedconnectionfactory-class>mycompany.connector.HstManagedConnFactory</managedconnectionfactory-class> <config-property> <config-property-name>ServerName</config-property-name> <config-property-type>java.lang.String</config-property-type> </config-property> <config-property> <config-property-name>PortNumber</config-property-name> <config-property-type>java.lang.String</config-property-type> </config-property> <config-property> <config-property-name>SockTimeout</config-property-name> <config-property-type>java.lang.String</config-property-type> </config-property> <config-property> <config-property-name>HeaderLength</config-property-name> <config-property-type>java.lang.String</config-property-type> </config-property> <config-property> <config-property-name>MaxInteractions</config-property-name> <config-property-type>java.lang.String</config-property-type> </config-property> <connectionfactory-interface>mycompany.connector.IHstConnFactory</connectionfactory-interface> <connectionfactory-impl-class>mycompany.connector.HstConnFactoryImpl</connectionfactory-impl-class> <connection-interface>mycompany.connector.IHstConnection</connection-interface> <connection-impl-class>mycompany.connector.HstConnection</connection-impl-class> </connection-definition> <transaction-support>NoTransaction</transaction-support> <authentication-mechanism> <authentication-mechanism-type>BasicPassword</authentication-mechanism-type> <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface> </authentication-mechanism> <reauthentication-support>false</reauthentication-support> </outbound-resourceadapter> <inbound-resourceadapter> <messageadapter> <messagelistener> <messagelistener-type>mycompany.deswin.lib.io.IForwardExecInteraction</messagelistener-type> <activationspec> <activationspec-class>mycompany.connector.RASimpleActivationSpec</activationspec-class> <required-config-property> <config-property-name>listenerManager</config-property-name> </required-config-property> </activationspec> </messagelistener> </messageadapter> </inbound-resourceadapter> </resourceadapter> </connector> |