| <?xml version="1.0"?> |
| <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> |
| |
| <Configure id="Server" class="org.eclipse.jetty.server.Server"> |
| |
| <!-- ===================================================================== --> |
| <!-- Configure the Deployer to create a GCloudSessionManager for every --> |
| <!-- webapp that is deployed --> |
| <!-- ===================================================================== --> |
| |
| <Ref id="DeploymentManager"> |
| <!-- Add a customize step to the deployment lifecycle --> |
| <Call name="insertLifeCycleNode"> |
| <Arg>deployed</Arg> |
| <Arg>starting</Arg> |
| <Arg>customise</Arg> |
| </Call> |
| <Call name="addLifeCycleBinding"> |
| <Arg> |
| <New class="org.eclipse.jetty.deploy.bindings.GlobalWebappConfigBinding"> |
| <Set name="jettyXml"><Property name="jetty.home" default="."/>/etc/gcloud-session-context.xml</Set> |
| </New> |
| </Arg> |
| </Call> |
| </Ref> |
| |
| </Configure> |