View Javadoc

1   /*
2    * $Id: MuleConfiguration.java 19500 2010-09-09 17:29:17Z dzapata $
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.api.config;
12  
13  /**
14   * Configuration info. which can be set when creating the MuleContext but becomes
15   * immutable after startup.
16   */
17  public interface MuleConfiguration
18  {
19      int getDefaultResponseTimeout();
20  
21      String getWorkingDirectory();
22  
23      String getMuleHomeDirectory();
24  
25      int getDefaultTransactionTimeout();
26  
27      boolean isClientMode();
28  
29      String getDefaultEncoding();
30  
31      String getId();
32  
33      String getClusterId();
34  
35      String getDomainId();
36  
37      String getSystemModelType();
38  
39      String getSystemName();
40  
41      boolean isAutoWrapMessageAwareTransform();
42  
43      boolean isCacheMessageAsBytes();
44  
45      boolean isCacheMessageOriginalPayload();
46  
47      boolean isEnableStreaming();
48  
49      boolean isValidateExpressions();
50  
51      int getDefaultQueueTimeout();
52      
53      int getShutdownTimeout();
54  
55      boolean isContainerMode();
56  }