dain        2004/04/03 20:49:10

  Modified:    modules/core/src/test-ejb-jar/META-INF ejb-jar.xml
  Log:

  Added deployment support for Stateful and BMP beans
  Fixed more serialization problems
  Added ContainerBuilder interface
  
  Revision  Changes    Path
  1.2       +44 -0     openejb/modules/core/src/test-ejb-jar/META-INF/ejb-jar.xml
  
  Index: ejb-jar.xml
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/test-ejb-jar/META-INF/ejb-jar.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ejb-jar.xml       1 Apr 2004 22:36:53 -0000       1.1
  +++ ejb-jar.xml       4 Apr 2004 01:49:10 -0000       1.2
  @@ -17,6 +17,27 @@
               <session-type>Stateless</session-type>
               <transaction-type>Container</transaction-type>
           </session>
  +        <session>
  +            <ejb-name>SimpleStatefulSession</ejb-name>
  +            <home>org.openejb.test.simple.sfsb.SimpleStatefulSessionHome</home>
  +            <remote>org.openejb.test.simple.sfsb.SimpleStatefulSession</remote>
  +            
<local-home>org.openejb.test.simple.sfsb.SimpleStatefulSessionLocalHome</local-home>
  +            <local>org.openejb.test.simple.sfsb.SimpleStatefulSessionLocal</local>
  +            
<ejb-class>org.openejb.test.simple.sfsb.SimpleStatefulSessionEJB</ejb-class>
  +            <session-type>Stateful</session-type>
  +            <transaction-type>Container</transaction-type>
  +        </session>
  +        <entity>
  +            <ejb-name>SimpleBMPEntity</ejb-name>
  +            <home>org.openejb.test.simple.bmp.SimpleBMPEntityHome</home>
  +            <remote>org.openejb.test.simple.bmp.SimpleBMPEntity</remote>
  +            
<local-home>org.openejb.test.simple.bmp.SimpleBMPEntityLocalHome</local-home>
  +            <local>org.openejb.test.simple.bmp.SimpleBMPEntityLocal</local>
  +            <ejb-class>org.openejb.test.simple.bmp.SimpleBMPEntityEJB</ejb-class>
  +            <persistence-type>Bean</persistence-type>
  +            <prim-key-class>java.lang.Integer</prim-key-class>
  +            <reentrant>False</reentrant>
  +        </entity>
       </enterprise-beans>
       <assembly-descriptor>
           <container-transaction>
  @@ -27,6 +48,22 @@
               </method>
               <trans-attribute>Required</trans-attribute>
           </container-transaction>
  +        <container-transaction>
  +            <description>Transaction attributes for 'SimpleStatefulSession' 
methods</description>
  +            <method>
  +                <ejb-name>SimpleStatefulSession</ejb-name>
  +                <method-name>*</method-name>
  +            </method>
  +            <trans-attribute>Required</trans-attribute>
  +        </container-transaction>
  +        <container-transaction>
  +            <description>Transaction attributes for 'SimpleBMPEntity' 
methods</description>
  +            <method>
  +                <ejb-name>SimpleBMPEntity</ejb-name>
  +                <method-name>*</method-name>
  +            </method>
  +            <trans-attribute>Required</trans-attribute>
  +        </container-transaction>
           <method-permission>
               <method>
                   <ejb-name>SimpleStatelessSession</ejb-name>
  @@ -34,5 +71,12 @@
               </method>
               <unchecked/>
           </method-permission>
  +        <method-permission>
  +            <method>
  +                <ejb-name>SimpleStatefulSession</ejb-name>
  +                <method-name>*</method-name>
  +            </method>
  +            <unchecked/>
  +        </method-permission>
       </assembly-descriptor>
   </ejb-jar>
  
  
  

Reply via email to