User: fleury  
  Date: 00/09/07 22:16:13

  Modified:    src/java/org/jboss/zol/testbean/META-INF ejb-jar.xml
  Log:
  new bean for testing transaction behaviour
  
  Revision  Changes    Path
  1.5       +88 -6     zola/src/java/org/jboss/zol/testbean/META-INF/ejb-jar.xml
  
  Index: ejb-jar.xml
  ===================================================================
  RCS file: 
/products/cvs/ejboss/zola/src/java/org/jboss/zol/testbean/META-INF/ejb-jar.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ejb-jar.xml       2000/08/18 03:30:36     1.4
  +++ ejb-jar.xml       2000/09/08 05:16:12     1.5
  @@ -2,7 +2,7 @@
   <ejb-jar>
       <enterprise-beans>
           
  -             <session>
  +       <session>
               <description>Nextgen test bean stateless</description>
               <ejb-name>nextgen.StatelessSession</ejb-name>
               <home>org.jboss.zol.testbean.interfaces.StatelessSessionHome</home>
  @@ -30,6 +30,16 @@
               <session-type>Stateful</session-type>
               <transaction-type>Container</transaction-type>
           </session>
  +         <session>
  +            <description>Nextgen test bean TX stateful</description>
  +            <ejb-name>nextgen.TxSession</ejb-name>
  +            <home>org.jboss.zol.testbean.interfaces.TxSessionHome</home>
  +            <remote>org.jboss.zol.testbean.interfaces.TxSession</remote>
  +            <ejb-class>org.jboss.zol.testbean.bean.TxSessionBean</ejb-class>
  +            <session-type>Stateless</session-type>
  +            <transaction-type>Container</transaction-type>
  +            <reentrant>True</reentrant>
  +        </session>
           <entity>
               <description>Nextgen test bean entity </description>
               <ejb-name>nextgen.EnterpriseEntity</ejb-name>
  @@ -45,7 +55,7 @@
               <primkey-field>name</primkey-field>
           </entity>
           
  -             <entity>
  +       <entity>
               <description>Nextgen BMP bean</description>
               <ejb-name>nextgen.EntityBMP</ejb-name>
               <home>org.jboss.zol.testbean.interfaces.EntityBMPHome</home>
  @@ -65,7 +75,7 @@
                   <description>An EJB ref for this bean to test</description>
                   <ejb-link>nextgen.StatelessSession</ejb-link>
                   <ejb-ref-name>ejb/myEJBRef</ejb-ref-name>
  -                             <ejb-ref-type>Session</ejb-ref-type>
  +          <ejb-ref-type>Session</ejb-ref-type>
                   <home>org.jboss.zol.testbean.interfaces.StatelessSessionHome</home>
                   <remote>org.jboss.zol.testbean.interfaces.StatelessSession</remote>
               </ejb-ref>
  @@ -94,9 +104,9 @@
               <cmp-field>
                   <field-name>aString</field-name>
               </cmp-field>
  -                     <cmp-field>
  -                             <field-name>otherField</field-name>
  -                     </cmp-field>
  +         <cmp-field>
  +          <field-name>otherField</field-name>
  +         </cmp-field>
           </entity>
           
           <!-- Account Manager Stateless Session Bean and Account CMP Entity Bean --> 
       
  @@ -154,12 +164,84 @@
                   <ejb-name>nextgen.StatefulSession</ejb-name>
                   <method-name>*</method-name>
               </method>
  +            <method>
  +                <ejb-name>nextgen.StatelessSession</ejb-name>
  +                <method-name>*</method-name>
  +            </method>
                <method>
                   <ejb-name>nextgen.EntityPK</ejb-name>
                   <method-name>*</method-name>
               </method>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                <method-name>txRequired</method-name>
  +            </method>
               <trans-attribute>Required</trans-attribute>
           </container-transaction>
  +                                                           
  +            
  +        <container-transaction>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                <method-name>requiredToSupports</method-name>
  +            </method>
  +            <trans-attribute>Required</trans-attribute>
  +        </container-transaction>
  +        <container-transaction>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                 <method-name>requiredToNotSupported</method-name>
  +            </method>
  +            <trans-attribute>Required</trans-attribute>
  +        </container-transaction>
  +        <container-transaction>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                <method-name>requiredToRequiresNew</method-name>
  +            </method>
  +            <trans-attribute>Required</trans-attribute>
  +        </container-transaction>
  +        
  +        <container-transaction>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                <method-name>txSupports</method-name>
  +            </method>
  +            <trans-attribute>Supports</trans-attribute>
  +        </container-transaction>
  +        
  +        <container-transaction>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                <method-name>txMandatory</method-name>
  +            </method>
  +            <trans-attribute>Mandatory</trans-attribute>
  +        </container-transaction>
  +          
  +        <container-transaction>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                <method-name>txRequiresNew</method-name>
  +            </method>
  +            <trans-attribute>REQUIRESNEW</trans-attribute>
  +        </container-transaction>
  +        
  +        <container-transaction>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                <method-name>txNever</method-name>
  +            </method>
  +            <trans-attribute>Never</trans-attribute>
  +        </container-transaction>
  +        
  +        <container-transaction>
  +            <method>
  +                <ejb-name>nextgen.TxSession</ejb-name>
  +                <method-name>txNotSupported</method-name>
  +            </method>
  +            <trans-attribute>Not_Supported</trans-attribute>
  +        </container-transaction>
  +        
       </assembly-descriptor>
   </ejb-jar>
   
  
  
  

Reply via email to