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

<!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>
      <entity>
	<ejb-name>EnterpriseEntity_A</ejb-name>
	<home>org.jboss.test.lock.interfaces.EnterpriseEntityHome</home>
	<remote>org.jboss.test.lock.interfaces.EnterpriseEntity</remote>
	<ejb-class>org.jboss.test.lock.bean.EnterpriseEntityBean</ejb-class>
	<persistence-type>Container</persistence-type>
	<prim-key-class>java.lang.String</prim-key-class>
	<reentrant>False</reentrant>
        <cmp-version>1.x</cmp-version>
	<cmp-field><field-name>name</field-name></cmp-field>
	<cmp-field><field-name>field</field-name></cmp-field>
	<cmp-field><field-name>nextEntity</field-name></cmp-field>
	<primkey-field>name</primkey-field>
      </entity>

      <entity>
	<ejb-name>EnterpriseEntity_B</ejb-name>
	<home>org.jboss.test.lock.interfaces.EnterpriseEntityHome</home>
	<remote>org.jboss.test.lock.interfaces.EnterpriseEntity</remote>
	<ejb-class>org.jboss.test.lock.bean.EnterpriseEntityBean</ejb-class>
	<persistence-type>Container</persistence-type>
	<prim-key-class>java.lang.String</prim-key-class>
	<reentrant>False</reentrant>
        <cmp-version>1.x</cmp-version>
	<cmp-field><field-name>name</field-name></cmp-field>
	<cmp-field><field-name>field</field-name></cmp-field>
	<cmp-field><field-name>nextEntity</field-name></cmp-field>
	<primkey-field>name</primkey-field>
      </entity>

      <entity>
	<ejb-name>EnterpriseEntity_C</ejb-name>
	<home>org.jboss.test.lock.interfaces.EnterpriseEntityHome</home>
	<remote>org.jboss.test.lock.interfaces.EnterpriseEntity</remote>
	<ejb-class>org.jboss.test.lock.bean.EnterpriseEntityBean</ejb-class>
	<persistence-type>Container</persistence-type>
	<prim-key-class>java.lang.String</prim-key-class>
	<reentrant>False</reentrant>
        <cmp-version>1.x</cmp-version>
	<cmp-field><field-name>name</field-name></cmp-field>
	<cmp-field><field-name>field</field-name></cmp-field>
	<cmp-field><field-name>nextEntity</field-name></cmp-field>
	<primkey-field>name</primkey-field>
      </entity>

      <entity>
	<ejb-name>EnterpriseEntity_D</ejb-name>
	<home>org.jboss.test.lock.interfaces.EnterpriseEntityHome</home>
	<remote>org.jboss.test.lock.interfaces.EnterpriseEntity</remote>
	<ejb-class>org.jboss.test.lock.bean.EnterpriseEntityBean</ejb-class>
	<persistence-type>Container</persistence-type>
	<prim-key-class>java.lang.String</prim-key-class>
	<reentrant>False</reentrant>
        <cmp-version>1.x</cmp-version>
	<cmp-field><field-name>name</field-name></cmp-field>
	<cmp-field><field-name>field</field-name></cmp-field>
	<cmp-field><field-name>nextEntity</field-name></cmp-field>
	<primkey-field>name</primkey-field>
      </entity>

      <entity>
	<ejb-name>EnterpriseEntity_B_Multi</ejb-name>
	<home>org.jboss.test.lock.interfaces.EnterpriseEntityHome</home>
	<remote>org.jboss.test.lock.interfaces.EnterpriseEntity</remote>
	<ejb-class>org.jboss.test.lock.bean.EnterpriseEntityBean</ejb-class>
	<persistence-type>Container</persistence-type>
	<prim-key-class>java.lang.String</prim-key-class>
	<reentrant>False</reentrant>
        <cmp-version>1.x</cmp-version>
	<cmp-field><field-name>name</field-name></cmp-field>
	<cmp-field><field-name>field</field-name></cmp-field>
	<cmp-field><field-name>nextEntity</field-name></cmp-field>
	<primkey-field>name</primkey-field>
      </entity>

      <entity>
	<ejb-name>EnterpriseEntity_C_Multi</ejb-name>
	<home>org.jboss.test.lock.interfaces.EnterpriseEntityHome</home>
	<remote>org.jboss.test.lock.interfaces.EnterpriseEntity</remote>
	<ejb-class>org.jboss.test.lock.bean.EnterpriseEntityBean</ejb-class>
	<persistence-type>Container</persistence-type>
	<prim-key-class>java.lang.String</prim-key-class>
	<reentrant>False</reentrant>
        <cmp-version>1.x</cmp-version>
	<cmp-field><field-name>name</field-name></cmp-field>
	<cmp-field><field-name>field</field-name></cmp-field>
	<cmp-field><field-name>nextEntity</field-name></cmp-field>
	<primkey-field>name</primkey-field>
      </entity>

    </enterprise-beans>
    
    <assembly-descriptor>
      <container-transaction>
	<method>
	  <ejb-name>EnterpriseEntity_A</ejb-name>
	  <method-name>*</method-name>
	</method>
	<trans-attribute>RequiresNew</trans-attribute>
      </container-transaction>

      <container-transaction>
	<method>
	  <ejb-name>EnterpriseEntity_B</ejb-name>
	  <method-name>*</method-name>
	</method>
	<trans-attribute>Required</trans-attribute>
      </container-transaction>

      <container-transaction>
	<method>
	  <ejb-name>EnterpriseEntity_C</ejb-name>
	  <method-name>*</method-name>
	</method>
	<trans-attribute>RequiresNew</trans-attribute>
      </container-transaction>

      <container-transaction>
	<method>
	  <ejb-name>EnterpriseEntity_D</ejb-name>
	  <method-name>*</method-name>
	</method>
	<trans-attribute>RequiresNew</trans-attribute>
      </container-transaction>
      <container-transaction>
	<method>
	  <ejb-name>EnterpriseEntity_B_Multi</ejb-name>
	  <method-name>*</method-name>
	</method>
	<trans-attribute>Required</trans-attribute>
      </container-transaction>

      <container-transaction>
	<method>
	  <ejb-name>EnterpriseEntity_C_Multi</ejb-name>
	  <method-name>*</method-name>
	</method>
	<trans-attribute>RequiresNew</trans-attribute>
      </container-transaction>

    </assembly-descriptor>
  </ejb-jar>
