<?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">

 <!-- ============================================================= -->
 <!-- If your sessions contain any objects of classes from your     -->
 <!-- from your application, you need to describe each class in a   -->
 <!-- .proto file, and supply a marshaller for each to read/write   -->
 <!-- instances. These classes will need to exist on the server's   -->
 <!-- classpath because they are referenced BEFORE your webapp is   -->
 <!-- started.                                                      -->
 <!-- ============================================================= -->
 <Ref refid="serial_context">
     <!--
    <Call name="registerProtoFiles">
      <Arg>
        <New class="org.infinispan.protostream.FileDescriptorSource">
          <Call name="addProtoFile">
           <Arg>my.proto</Arg>
           <Arg>
             <New class="java.io.File">
                 <Arg><Property name="jetty.base" default="."/>/etc/my.proto</Arg>
             </New>
           </Arg>
         </Call>
        </New>
      </Arg>
    </Call>

     -->
     <!--
     <Call name="registerMarshaller">
       <Arg>
         <New class="com.acme.MyMarshaller"/>
       </Arg>
     </Call>
     -->
 </Ref>
</Configure>
