<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd">

<ejb-jar>
     <enterprise-beans>
       <session>
	 <ejb-name>XATest</ejb-name>
	 <home>org.jboss.test.xa.interfaces.XATestHome</home>
	 <remote>org.jboss.test.xa.interfaces.XATest</remote>
	 <ejb-class>org.jboss.test.xa.bean.XATestBean</ejb-class>
	 <session-type>Stateless</session-type>
	 <transaction-type>Container</transaction-type>
	 <resource-ref>
	   <res-ref-name>jdbc/DBConnection1</res-ref-name>
	   <res-type>javax.sql.DataSource</res-type>
	   <res-auth>Container</res-auth>
	 </resource-ref>
	 <resource-ref>
	   <res-ref-name>jdbc/DBConnection2</res-ref-name>
	   <res-type>javax.sql.DataSource</res-type>
	   <res-auth>Container</res-auth>
	 </resource-ref>
       </session>
     </enterprise-beans>
     <assembly-descriptor>
       <container-transaction>
	 <description>XA_Required</description>
	 <method>
	   <ejb-name>XATest</ejb-name>
	   <method-intf>Home</method-intf>
	   <method-name>create</method-name>
	   <method-params />
	 </method>
	 <method>
	   <ejb-name>XATest</ejb-name>
	   <method-intf>Home</method-intf>
	   <method-name>remove</method-name>
	   <method-params>
	     <method-param>java.lang.Object</method-param>
	   </method-params>
	 </method>
	 <method>
	   <ejb-name>XATest</ejb-name>
	   <method-intf>Home</method-intf>
	   <method-name>remove</method-name>
	   <method-params>
	     <method-param>javax.ejb.Handle</method-param>
	   </method-params>
	 </method>
	 <method>
	   <ejb-name>XATest</ejb-name>
	   <method-intf>Remote</method-intf>
	   <method-name>clearData</method-name>
	   <method-params />
	 </method>
	 <method>
	   <ejb-name>XATest</ejb-name>
	   <method-intf>Remote</method-intf>
	   <method-name>doWork</method-name>
	   <method-params />
	 </method>
	 <method>
	   <ejb-name>XATest</ejb-name>
	   <method-intf>Remote</method-intf>
	   <method-name>remove</method-name>
	   <method-params />
	 </method>
	 <trans-attribute>Required</trans-attribute>
       </container-transaction>
     </assembly-descriptor>
   </ejb-jar>
