blob: 2be5ff903308024bfea8bdefde9a16c600577a8c [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.1" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd">
<enterprise-beans>
<session>
<display-name>SfulEJB</display-name>
<ejb-name>SfulEJB</ejb-name>
<business-remote>com.sun.s1asdev.deployment.ejb30.ear.xmloverride.Sful</business-remote>
<ejb-class>com.sun.s1asdev.deployment.ejb30.ear.xmloverride.SfulEJB</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
<env-entry>
<env-entry-name>envEntry1</env-entry-name>
<env-entry-type>java.lang.Integer</env-entry-type>
<env-entry-value>8</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>envEntry2</env-entry-name>
<env-entry-type>java.lang.Integer</env-entry-type>
<lookup-name>java:app/env/value1</lookup-name>
</env-entry>
<resource-ref>
<res-ref-name>jdbc/__default</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<res-ref-name>myDS3</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
<lookup-name>jdbc/__default</lookup-name>
</resource-ref>
<resource-ref>
<res-ref-name>myDS5</res-ref-name>
<injection-target>
<injection-target-class>com.sun.s1asdev.deployment.ejb30.ear.xmloverride.SfulEJB</injection-target-class>
<injection-target-name>myDS6</injection-target-name>
</injection-target>
</resource-ref>
<resource-ref>
<res-ref-name>myDS7</res-ref-name>
<lookup-name>jdbc/__default</lookup-name>
</resource-ref>
<resource-ref>
<res-ref-name>myDS8</res-ref-name>
<mapped-name>jdbc/__default</mapped-name>
</resource-ref>
<resource-ref>
<res-ref-name>myDS4</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
<mapped-name>jdbc/__default</mapped-name>
<lookup-name>foo_bar</lookup-name>
</resource-ref>
<security-identity>
<run-as>
<role-name>sunuser</role-name>
</run-as>
</security-identity>
</session>
</enterprise-beans>
<assembly-descriptor>
<security-role>
<role-name>j2ee</role-name>
</security-role>
<method-permission>
<role-name>j2ee</role-name>
<method>
<ejb-name>SfulEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>goodNight</method-name>
</method>
</method-permission>
<container-transaction>
<description>xmloverride</description>
<method>
<ejb-name>SfulEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>goodNight</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<exclude-list>
<method>
<ejb-name>SfulEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>bye</method-name>
</method>
</exclude-list>
</assembly-descriptor>
</ejb-jar>