<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar 
   PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" 
          "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar>
   <enterprise-beans>
      <session>
         <ejb-name>UnshareableStateless</ejb-name>
         <home>org.jboss.test.jca.interfaces.UnshareableConnectionSessionHome</home>
         <remote>org.jboss.test.jca.interfaces.UnshareableConnectionSession</remote>
         <ejb-class>org.jboss.test.jca.ejb.UnshareableConnectionSessionBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
         <ejb-local-ref>
            <ejb-ref-name>local/UnshareableStateful</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home>org.jboss.test.jca.interfaces.UnshareableConnectionStatefulLocalHome</local-home>
            <local>org.jboss.test.jca.interfaces.UnshareableConnectionStatefulLocal</local>
            <ejb-link>UnshareableStateful</ejb-link>
         </ejb-local-ref>
      </session>
      <session>
         <ejb-name>UnshareableStateful</ejb-name>
         <local-home>org.jboss.test.jca.interfaces.UnshareableConnectionStatefulLocalHome</local-home>
         <local>org.jboss.test.jca.interfaces.UnshareableConnectionStatefulLocal</local>
         <ejb-class>org.jboss.test.jca.ejb.UnshareableConnectionStatefulBean</ejb-class>
         <session-type>Stateful</session-type>
         <transaction-type>Bean</transaction-type>
         <resource-ref>
            <res-ref-name>jdbc/DataSource</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
            <res-sharing-scope>Unshareable</res-sharing-scope>
         </resource-ref>
      </session>
   </enterprise-beans>
   <assembly-descriptor>
      <container-transaction>
         <method>
            <ejb-name>UnshareableStateless</ejb-name>
            <method-name>*</method-name>
         </method>
         <trans-attribute>Required</trans-attribute>
      </container-transaction>
   </assembly-descriptor>
</ejb-jar>
