Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: ba38daef80d5a9c0569cf93a70aa3d0625e3a094 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                                                  
                       




                                                                                     

                                  


                                                             


                                                                                             
                                               
                                                                                     
                                   
                                                                                       


                        

                   

                  




            
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">

<Configure id="Server" class="org.eclipse.jetty.server.Server">
  <Call name="addBean">
    <Arg>
      <New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
        <Set name="contexts">
          <Ref id="Contexts" />
        </Set>
        
        <!-- Providers of Apps -->
        <Set name="appProviders">
          <Array type="org.eclipse.jetty.deploy.AppProvider">
            <Item>
             <New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
              <Set name="monitoredDirName"><SystemProperty name="jetty.home" />/webapps</Set>
              <Set name="scanInterval">1</Set>              
              <Set name="configurationManager">
                <New class="org.eclipse.jetty.deploy.PropertiesConfigurationManager">
                  <Set name="file">
                    <SystemProperty name="jetty.home"/>/xml-configured-jetty.properties
                  </Set>
                </New>
              </Set>
             </New>
            </Item>
          </Array>
        </Set>
      </New>
    </Arg>
  </Call>

</Configure>

Back to the top