blob: 23cb6e08d2e61611af6c50a00c99aebfe86ae038 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<!--
Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<ejb-jar>
<display-name>NoTxConnTestEJB</display-name>
<enterprise-beans>
<session>
<ejb-name>NoTxConnTestEJB</ejb-name>
<home>com.sun.s1asdev.jdbc.txpassthrough.ejb.NoTxConnTestHome</home>
<remote>com.sun.s1asdev.jdbc.txpassthrough.ejb.NoTxConnTest</remote>
<ejb-class>com.sun.s1asdev.jdbc.txpassthrough.ejb.NoTxConnTestBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/SecondEJB</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.sun.s1asdev.jdbc.txpassthrough.ejb.SecondHome</home>
<remote>com.sun.s1asdev.jdbc.txpassthrough.ejb.Second</remote>
</ejb-ref>
<resource-ref>
<description>notxconn</description>
<res-ref-name>jdbc/txpassthrough</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
</resource-ref>
</session>
<session>
<ejb-name>SecondEJB</ejb-name>
<home>com.sun.s1asdev.jdbc.txpassthrough.ejb.SecondHome</home>
<remote>com.sun.s1asdev.jdbc.txpassthrough.ejb.Second</remote>
<ejb-class>com.sun.s1asdev.jdbc.txpassthrough.ejb.SecondBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/ThirdEJB</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.sun.s1asdev.jdbc.txpassthrough.ejb.ThirdHome</home>
<remote>com.sun.s1asdev.jdbc.txpassthrough.ejb.Third</remote>
</ejb-ref>
<resource-ref>
<description>notxconn</description>
<res-ref-name>jdbc/txpassthrough</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
</resource-ref>
</session>
<session>
<ejb-name>ThirdEJB</ejb-name>
<home>com.sun.s1asdev.jdbc.txpassthrough.ejb.ThirdHome</home>
<remote>com.sun.s1asdev.jdbc.txpassthrough.ejb.Third</remote>
<ejb-class>com.sun.s1asdev.jdbc.txpassthrough.ejb.ThirdBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<description>notxconn</description>
<res-ref-name>jdbc/txpassthrough</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
</resource-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>NoTxConnTestEJB</ejb-name>
<method-name>test1</method-name>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>SecondEJB</ejb-name>
<method-name>test1</method-name>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ThirdEJB</ejb-name>
<method-name>test1</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>