blob: 89252488ebf476a9043b69e4764aea44ad13bf7a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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 xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.0" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
<display-name>CustomResourceFactoriesBMPJAR</display-name>
<enterprise-beans>
<!-- Simple EJB -->
<session>
<display-name>CustomResourceFactoriesBMPEJB</display-name>
<ejb-name>SimpleBMPEJB</ejb-name>
<home>com.sun.s1asdev.jdbc.CustomResourceFactories.ejb.SimpleBMPHome</home>
<remote>com.sun.s1asdev.jdbc.CustomResourceFactories.ejb.SimpleBMP</remote>
<ejb-class>com.sun.s1asdev.jdbc.CustomResourceFactories.ejb.SimpleBMPBean</ejb-class>
<session-type>Stateful</session-type>
<resource-ref>
<res-ref-name>custom/my-java-bean</res-ref-name>
<res-type>com.sun.s1asdev.custom.resource.CustomResourceJavaBean</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<res-ref-name>custom/my-int</res-ref-name>
<res-type>java.lang.Integer</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<res-ref-name>custom/my-string</res-ref-name>
<res-type>java.lang.String</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>SimpleBMPEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>