blob: ed0b0293ee64dd98a5f4e7c87a8e7a1ac276b6ae [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) 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>RosterJAR</display-name>
<enterprise-beans>
<session>
<display-name>RosterEJB</display-name>
<ejb-name>RosterEJB</ejb-name>
<home>roster.RosterHome</home>
<remote>roster.Roster</remote>
<ejb-class>roster.RosterBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/RemoteLeagueExt</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>team.LeagueHome</home>
<remote>team.League</remote>
<ejb-link>LeagueEJB</ejb-link>
</ejb-ref>
<ejb-ref>
<ejb-ref-name>ejb/RemoteTeamExt</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>team.TeamHome</home>
<remote>team.Team</remote>
<ejb-link>TeamEJB</ejb-link>
</ejb-ref>
<ejb-ref>
<ejb-ref-name>ejb/RemotePlayerExt</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>team.PlayerHome</home>
<remote>team.Player</remote>
<ejb-link>PlayerEJB</ejb-link>
</ejb-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/SimpleLeagueExt</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>team.LocalLeagueHome</local-home>
<local>team.LocalLeague</local>
<ejb-link>LeagueEJB</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/SimpleTeamExt</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>team.LocalTeamHome</local-home>
<local>team.LocalTeam</local>
<ejb-link>TeamEJB</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/SimplePlayerExt</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>team.LocalPlayerHome</local-home>
<local>team.LocalPlayer</local>
<ejb-link>PlayerEJB</ejb-link>
</ejb-local-ref>
<security-identity>
<description></description>
<use-caller-identity></use-caller-identity>
</security-identity>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<unchecked />
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>dropPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPrimaryKey</method-name>
<method-params />
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getLeague</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createTeamInLeague</method-name>
<method-params>
<method-param>util.TeamDetails</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getEJBHome</method-name>
<method-params />
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByCity</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>getHomeHandle</method-name>
<method-params />
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>addPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersOfTeam</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>create</method-name>
<method-params />
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getAllPlayers</method-name>
<method-params />
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersBySalaryRange</method-name>
<method-params>
<method-param>double</method-param>
<method-param>double</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>testFinder</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createPlayer</method-name>
<method-params>
<method-param>util.PlayerDetails</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersNotOnTeam</method-name>
<method-params />
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getSportsOfPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByPosition</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>jakarta.ejb.Handle</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getTeam</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>removeLeague</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getTeamsOfLeague</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByPositionAndName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersOfTeamCopy</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByHigherSalary</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>removePlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersBySport</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getHandle</method-name>
<method-params />
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createLeague</method-name>
<method-params>
<method-param>util.LeagueDetails</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByLeagueId</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>remove</method-name>
<method-params />
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>isIdentical</method-name>
<method-params>
<method-param>jakarta.ejb.EJBObject</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getLeaguesOfPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>removeTeam</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
</method-permission>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>dropPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getLeague</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createTeamInLeague</method-name>
<method-params>
<method-param>util.TeamDetails</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByCity</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayer</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>addPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersOfTeam</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getAllPlayers</method-name>
<method-params />
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersBySalaryRange</method-name>
<method-params>
<method-param>double</method-param>
<method-param>double</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>testFinder</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createPlayer</method-name>
<method-params>
<method-param>util.PlayerDetails</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersNotOnTeam</method-name>
<method-params />
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getSportsOfPlayer</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByPosition</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getTeam</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>removeLeague</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getTeamsOfLeague</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByPositionAndName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersOfTeamCopy</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByHigherSalary</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>removePlayer</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersBySport</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>createLeague</method-name>
<method-params>
<method-param>util.LeagueDetails</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayersByLeagueId</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getLeaguesOfPlayer</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>RosterEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>removeTeam</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>