blob: 38fbb4b1e5cf53f1381638fb7552528f08d1b72d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 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/j2ee" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
<display-name>RequestJAR</display-name>
<enterprise-beans>
<session>
<ejb-name>RequestBean</ejb-name>
<home>request.RequestHome</home>
<remote>request.Request</remote>
<ejb-class>request.RequestBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
<ejb-local-ref>
<ejb-ref-name>ejb/SimpleLineItem</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>dataregistry.LocalLineItemHome</local-home>
<local>dataregistry.LocalLineItem</local>
<ejb-link>ejb-jar-ic1.jar#LineItemBean</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/SimpleVendorPart</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>dataregistry.LocalVendorPartHome</local-home>
<local>dataregistry.LocalVendorPart</local>
<ejb-link>ejb-jar-ic1.jar#VendorPartBean</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/SimpleOrder</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>dataregistry.LocalOrderHome</local-home>
<local>dataregistry.LocalOrder</local>
<ejb-link>ejb-jar-ic1.jar#OrderBean</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/SimplePart</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>dataregistry.LocalPartHome</local-home>
<local>dataregistry.LocalPart</local>
<ejb-link>ejb-jar-ic1.jar#PartBean</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/SimpleVendor</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>dataregistry.LocalVendorHome</local-home>
<local>dataregistry.LocalVendor</local>
<ejb-link>ejb-jar-ic1.jar#VendorBean</ejb-link>
</ejb-local-ref>
<security-identity>
<use-caller-identity/>
</security-identity>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getAvgPrice</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getTotalPricePerVendor</method-name>
<method-params>
<method-param>request.VendorRequest</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>addPartToBillOfMaterial</method-name>
<method-params>
<method-param>request.BomRequest</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getOrderPrice</method-name>
<method-params>
<method-param>java.lang.Integer</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>addLineItem</method-name>
<method-params>
<method-param>request.LineItemRequest</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createPart</method-name>
<method-params>
<method-param>request.PartRequest</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>removeOrder</method-name>
<method-params>
<method-param>java.lang.Integer</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>locateVendorsByPartialName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>countAllItems</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>reportVendorsByOrder</method-name>
<method-params>
<method-param>java.lang.Integer</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createVendorPart</method-name>
<method-params>
<method-param>request.VendorPartRequest</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createVendor</method-name>
<method-params>
<method-param>request.VendorRequest</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>adjustOrderDiscount</method-name>
<method-params>
<method-param>int</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getBillOfMaterialPrice</method-name>
<method-params>
<method-param>request.BomRequest</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RequestBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createOrder</method-name>
<method-params>
<method-param>request.OrderRequest</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>