View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.transport.servlet.jetty;
8   
9   public class WebappsConfiguration
10  {
11      public static final String DEFAULT_HOST = "0.0.0.0";
12      public static final int DEFAULT_PORT = 8585;
13  
14      private String host = DEFAULT_HOST;
15      private String directory;
16      private int port = DEFAULT_PORT;
17      private String[] systemClasses;
18      private String[] serverClasses;
19  
20      public String getHost()
21      {
22          return host;
23      }
24  
25      public void setHost(String host)
26      {
27          this.host = host;
28      }
29  
30      public String getDirectory()
31      {
32          return directory;
33      }
34  
35      public void setDirectory(String directory)
36      {
37          this.directory = directory;
38      }
39  
40      public int getPort()
41      {
42          return port;
43      }
44  
45      public void setPort(int port)
46      {
47          this.port = port;
48      }
49  
50      public String[] getSystemClasses()
51      {
52          return systemClasses;
53      }
54  
55      public void setSystemClasses(String[] systemClasses)
56      {
57          this.systemClasses = systemClasses;
58      }
59  
60      public String[] getServerClasses()
61      {
62          return serverClasses;
63      }
64  
65      public void setServerClasses(String[] serverClasses)
66      {
67          this.serverClasses = serverClasses;
68      }
69  }