<?xml version="1.0" encoding="UTF-8"?>

<connector version="1.5"
           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"
>

   <vendor-name>JBoss, Inc</vendor-name>
   <eis-type>JCA Properties</eis-type>
   <resourceadapter-version>4.0</resourceadapter-version>
   
   <license>
      <description>
      COPYRIGHT AND PERMISSION NOTICE
      Copyright (c) 2005 JBoss, Inc
      This is released under the terms of the LGPL.
      See gnu.org for details.
      </description>
      <license-required>true</license-required>
   </license>
   
   <resourceadapter>
      <resourceadapter-class>org.jboss.test.jcaprops.support.PropertyTestResourceAdapter</resourceadapter-class>
      <config-property>
         <config-property-name>stringRAR</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         <config-property-value>stringFromRARProperties</config-property-value>
      </config-property>
      <config-property>
         <config-property-name>booleanRAR</config-property-name>
         <config-property-type>java.lang.Boolean</config-property-type>
         <config-property-value>true</config-property-value>
      </config-property>
      <config-property>
         <config-property-name>byteRAR</config-property-name>
         <config-property-type>java.lang.Byte</config-property-type>
         <config-property-value>1</config-property-value>
      </config-property>
      <config-property>
         <config-property-name>characterRAR</config-property-name>
         <config-property-type>java.lang.Character</config-property-type>
         <config-property-value>a</config-property-value>
      </config-property>
      <config-property>
         <config-property-name>shortRAR</config-property-name>
         <config-property-type>java.lang.Short</config-property-type>
         <config-property-value>2</config-property-value>
      </config-property>
      <config-property>
         <config-property-name>integerRAR</config-property-name>
         <config-property-type>java.lang.Integer</config-property-type>
         <config-property-value>3</config-property-value>
      </config-property>
      <config-property>
         <config-property-name>longRAR</config-property-name>
         <config-property-type>java.lang.Long</config-property-type>
         <config-property-value>4</config-property-value>
      </config-property>
      <config-property>
         <config-property-name>floatRAR</config-property-name>
         <config-property-type>java.lang.Float</config-property-type>
         <config-property-value>5e6</config-property-value>
      </config-property>
      <config-property>
         <config-property-name>doubleRAR</config-property-name>
         <config-property-type>java.lang.Double</config-property-type>
         <config-property-value>7e8</config-property-value>
      </config-property>

      <outbound-resourceadapter>
         <connection-definition>
            <managedconnectionfactory-class>org.jboss.test.jcaprops.support.PropertyTestManagedConnectionFactory</managedconnectionfactory-class>
            <config-property>
               <config-property-name>stringMCF</config-property-name>
               <config-property-type>java.lang.String</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>booleanMCF</config-property-name>
               <config-property-type>java.lang.Boolean</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>byteMCF</config-property-name>
               <config-property-type>java.lang.Byte</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>characterMCF</config-property-name>
               <config-property-type>java.lang.Character</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>shortMCF</config-property-name>
               <config-property-type>java.lang.Short</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>integerMCF</config-property-name>
               <config-property-type>java.lang.Integer</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>longMCF</config-property-name>
               <config-property-type>java.lang.Long</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>floatMCF</config-property-name>
               <config-property-type>java.lang.Float</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>doubleMCF</config-property-name>
               <config-property-type>java.lang.Double</config-property-type>
            </config-property>
            <config-property>
               <config-property-name>stringCD</config-property-name>
               <config-property-type>java.lang.String</config-property-type>
               <config-property-value>stringFromCDProperties</config-property-value>
            </config-property>
            <config-property>
               <config-property-name>booleanCD</config-property-name>
               <config-property-type>java.lang.Boolean</config-property-type>
               <config-property-value>true</config-property-value>
            </config-property>
            <config-property>
               <config-property-name>byteCD</config-property-name>
               <config-property-type>java.lang.Byte</config-property-type>
               <config-property-value>31</config-property-value>
            </config-property>
            <config-property>
               <config-property-name>characterCD</config-property-name>
               <config-property-type>java.lang.Character</config-property-type>
               <config-property-value>d</config-property-value>
            </config-property>
            <config-property>
               <config-property-name>shortCD</config-property-name>
               <config-property-type>java.lang.Short</config-property-type>
               <config-property-value>32</config-property-value>
            </config-property>
            <config-property>
               <config-property-name>integerCD</config-property-name>
               <config-property-type>java.lang.Integer</config-property-type>
               <config-property-value>33</config-property-value>
            </config-property>
            <config-property>
               <config-property-name>longCD</config-property-name>
               <config-property-type>java.lang.Long</config-property-type>
               <config-property-value>34</config-property-value>
            </config-property>
            <config-property>
               <config-property-name>floatCD</config-property-name>
               <config-property-type>java.lang.Float</config-property-type>
               <config-property-value>6e26</config-property-value>
            </config-property>
            <config-property>
               <config-property-name>doubleCD</config-property-name>
               <config-property-type>java.lang.Double</config-property-type>
               <config-property-value>8e28</config-property-value>
            </config-property>
            <connectionfactory-interface>org.jboss.test.jcaprops.support.PropertyTestConnectionFactory</connectionfactory-interface>
            <connectionfactory-impl-class>org.jboss.test.jcaprops.support.PropertyTestManagedConnectionFactoryImpl</connectionfactory-impl-class>
            <connection-interface>org.jboss.test.jcaprops.support.PropertyTestConnection</connection-interface>
            <connection-impl-class>org.jboss.test.jcaprops.support.PropertyTestConnectionImpl</connection-impl-class>
         </connection-definition>
         <transaction-support>LocalTransaction</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>org.jboss.test.jcaprops.support.PropertyTestListener</messagelistener-type>
               <activationspec>
                  <activationspec-class>org.jboss.test.jcaprops.support.PropertyTestActivationSpec</activationspec-class>
                  <required-config-property>
                      <config-property-name>stringAS</config-property-name>
                  </required-config-property>
                  <required-config-property>
                      <config-property-name>IntegerAS</config-property-name>
                  </required-config-property>
               </activationspec>
            </messagelistener>
         </messageadapter>
      </inbound-resourceadapter>

      <adminobject>
         <adminobject-interface>org.jboss.test.jcaprops.support.PropertyTestAdminObject</adminobject-interface>
         <adminobject-class>org.jboss.test.jcaprops.support.PropertyTestAdminObjectImpl</adminobject-class>
         <config-property>
            <config-property-name>stringAOMBean</config-property-name>
            <config-property-type>java.lang.String</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>booleanAOMBean</config-property-name>
            <config-property-type>java.lang.Boolean</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>byteAOMBean</config-property-name>
            <config-property-type>java.lang.Byte</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>characterAOMBean</config-property-name>
            <config-property-type>java.lang.Character</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>shortAOMBean</config-property-name>
            <config-property-type>java.lang.Short</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>integerAOMBean</config-property-name>
            <config-property-type>java.lang.Integer</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>longAOMBean</config-property-name>
            <config-property-type>java.lang.Long</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>floatAOMBean</config-property-name>
            <config-property-type>java.lang.Float</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>doubleAOMBean</config-property-name>
            <config-property-type>java.lang.Double</config-property-type>
         </config-property>
         <config-property>
            <config-property-name>stringAO</config-property-name>
            <config-property-type>java.lang.String</config-property-type>
            <config-property-value>stringFromAOProperties</config-property-value>
         </config-property>
         <config-property>
            <config-property-name>booleanAO</config-property-name>
            <config-property-type>java.lang.Boolean</config-property-type>
            <config-property-value>true</config-property-value>
         </config-property>
         <config-property>
            <config-property-name>byteAO</config-property-name>
            <config-property-type>java.lang.Byte</config-property-type>
            <config-property-value>31</config-property-value>
         </config-property>
         <config-property>
            <config-property-name>characterAO</config-property-name>
            <config-property-type>java.lang.Character</config-property-type>
            <config-property-value>d</config-property-value>
         </config-property>
         <config-property>
            <config-property-name>shortAO</config-property-name>
            <config-property-type>java.lang.Short</config-property-type>
            <config-property-value>32</config-property-value>
         </config-property>
         <config-property>
            <config-property-name>integerAO</config-property-name>
            <config-property-type>java.lang.Integer</config-property-type>
            <config-property-value>33</config-property-value>
         </config-property>
         <config-property>
            <config-property-name>longAO</config-property-name>
            <config-property-type>java.lang.Long</config-property-type>
            <config-property-value>34</config-property-value>
         </config-property>
         <config-property>
            <config-property-name>floatAO</config-property-name>
            <config-property-type>java.lang.Float</config-property-type>
            <config-property-value>6e26</config-property-value>
         </config-property>
         <config-property>
            <config-property-name>doubleAO</config-property-name>
            <config-property-type>java.lang.Double</config-property-type>
            <config-property-value>8e28</config-property-value>
         </config-property>
      </adminobject>
   </resourceadapter>
</connector>
