blob: 11fb31ccd8f970d36550f0513721bfda93865063 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
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
-->
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" metadata-complete="true" version="3.1" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" xmlns="http://xmlns.jcp.org/xml/ns/javaee">
<servlet>
<servlet-class>test.ServletTest</servlet-class>
<load-on-startup>-1</load-on-startup>
<enabled>true</enabled>
<async-supported>false</async-supported>
</servlet>
<security-role>
<role-name>staff</role-name>
</security-role>
<ejb-ref>
<ejb-ref-name>test.ServletTest/sful1</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<remote>test.ejb.stateful.SFHello</remote>
<injection-target>
<injection-target-class>test.ServletTest</injection-target-class>
<injection-target-name>sful1</injection-target-name>
</injection-target>
</ejb-ref>
<ejb-ref>
<ejb-ref-name>ejb/sfhello</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<remote>test.ejb.stateful.SFHello</remote>
<injection-target>
<injection-target-class>test.ServletTest</injection-target-class>
<injection-target-name>sful2</injection-target-name>
</injection-target>
</ejb-ref>
<post-construct>
<lifecycle-callback-class>test.ServletTest</lifecycle-callback-class>
<lifecycle-callback-method>preconstruct</lifecycle-callback-method>
</post-construct>
<pre-destroy>
<lifecycle-callback-class>test.ServletTest</lifecycle-callback-class>
<lifecycle-callback-method>predestroy</lifecycle-callback-method>
</pre-destroy>
<session-config/>
</web-app>