View Javadoc

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