User: peter   
  Date: 01/01/24 18:45:45

  Modified:    src/resources/cts/META-INF ejb-jar.xml jboss.xml
  Log:
  Added rudimentary BMP tests.
  
  Revision  Changes    Path
  1.6       +24 -9     jbosstest/src/resources/cts/META-INF/ejb-jar.xml
  
  Index: ejb-jar.xml
  ===================================================================
  RCS file: /products/cvs/ejboss/jbosstest/src/resources/cts/META-INF/ejb-jar.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ejb-jar.xml       2001/01/17 12:55:50     1.5
  +++ ejb-jar.xml       2001/01/25 02:45:44     1.6
  @@ -5,6 +5,15 @@
        <display-name>jBoss CTS</display-name>
        <enterprise-beans>
          <session>
  +      <display-name>Stateless Session</display-name>
  +      <ejb-name>StatelessSessionBean</ejb-name>
  +      <home>org.jboss.test.cts.interfaces.StatelessSessionHome</home>
  +      <remote>org.jboss.test.cts.interfaces.StatelessSession</remote>
  +      <ejb-class>org.jboss.test.cts.ejb.StatelessSessionBean</ejb-class>
  +      <session-type>Stateless</session-type>
  +      <transaction-type>Container</transaction-type>
  +       </session>
  +       <session>
         <display-name>Stateful Session</display-name>
         <ejb-name>StatefulSessionBean</ejb-name>
         <home>org.jboss.test.cts.interfaces.StatefulSessionHome</home>
  @@ -16,15 +25,21 @@
           <description>This is to test the isCallerInRole( ) method on the 
SessionBean.</description>
           <role-name>bean tester</role-name>
         </security-role-ref>
  -       </session>
  -       <session>
  -      <display-name>Stateless Session</display-name>
  -      <ejb-name>StatelessSessionBean</ejb-name>
  -      <home>org.jboss.test.cts.interfaces.StatelessSessionHome</home>
  -      <remote>org.jboss.test.cts.interfaces.StatelessSession</remote>
  -      <ejb-class>org.jboss.test.cts.ejb.StatelessSessionBean</ejb-class>
  -      <session-type>Stateless</session-type>
  -      <transaction-type>Container</transaction-type>
          </session>
  +       <entity>
  +      <description>Test for BEAN managed persistence</description>
  +      <ejb-name>BMPBean</ejb-name>
  +      <home>org.jboss.test.cts.interfaces.CtsBmpHome</home>
  +      <remote>org.jboss.test.cts.interfaces.CtsBmp</remote>
  +      <ejb-class>org.jboss.test.cts.ejb.CtsBmpBean</ejb-class>
  +      <persistence-type>Bean</persistence-type>
  +      <prim-key-class>org.jboss.test.cts.keys.AccountPK</prim-key-class>
  +      <reentrant>True</reentrant>
  +      <resource-ref>
  +        <res-ref-name>datasource</res-ref-name>
  +        <res-type>javax.sql.DataSource</res-type>
  +        <res-auth>Container</res-auth>
  +      </resource-ref>
  +       </entity>
        </enterprise-beans>
      </ejb-jar>
  
  
  
  1.6       +14 -5     jbosstest/src/resources/cts/META-INF/jboss.xml
  
  Index: jboss.xml
  ===================================================================
  RCS file: /products/cvs/ejboss/jbosstest/src/resources/cts/META-INF/jboss.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jboss.xml 2001/01/11 03:55:49     1.5
  +++ jboss.xml 2001/01/25 02:45:44     1.6
  @@ -6,14 +6,23 @@
        <resource-managers />
        <enterprise-beans>
          <session>
  -      <ejb-name>StatelessSessionBean</ejb-name>
  -      <jndi-name>ejbcts/StatelessSessionHome</jndi-name>
  -      <configuration-name>Standard Stateless SessionBean</configuration-name>
  -       </session>
  -       <session>
         <ejb-name>StatefulSessionBean</ejb-name>
         <jndi-name>ejbcts/StatefulSessionBean</jndi-name>
         <configuration-name>Standard Stateful SessionBean</configuration-name>
          </session>
  +       <session>
  +      <ejb-name>StatelessSessionBean</ejb-name>
  +      <jndi-name>ejbcts/StatelessSessionHome</jndi-name>
  +      <configuration-name>Standard Stateless SessionBean</configuration-name>
  +       </session>
  +       <entity>
  +      <ejb-name>BMPBean</ejb-name>
  +      <jndi-name>ejbcts/BMPBean</jndi-name>
  +      <configuration-name></configuration-name>
  +      <resource-ref>
  +        <res-ref-name>datasource</res-ref-name>
  +        <resource-name>datasource</resource-name>
  +      </resource-ref>
  +       </entity>
        </enterprise-beans>
      </jboss>
  
  
  

Reply via email to