| 1 |
<?xml version="1.0"?> |
| 2 |
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_10_0.dtd"> |
| 3 |
|
| 4 |
<!-- =============================================================== --> |
| 5 |
<!-- Configure the test-jndi webapp --> |
| 6 |
<!-- =============================================================== --> |
| 7 |
<Configure id='wac' class="org.eclipse.jetty.ee9.webapp.WebAppContext"> |
| 8 |
|
| 9 |
<New id="tx" class="org.eclipse.jetty.ee9.plus.jndi.Transaction"> |
| 10 |
<Arg>ee9</Arg> |
| 11 |
<Arg> |
| 12 |
<New class="org.example.MockUserTransaction"/> |
| 13 |
</Arg> |
| 14 |
</New> |
| 15 |
|
| 16 |
<Set name="contextPath">/test-jndi</Set> |
| 17 |
<Set name="war"><Property name="jetty.webapps" default="."/>/test-jndi.war</Set> |
| 18 |
<Set name="extractWAR">true</Set> |
| 19 |
<Set name="copyWebDir">false</Set> |
| 20 |
<Set name="configurationDiscovered">true</Set> |
| 21 |
|