<?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>
