View Javadoc

1   /*
2    * $Id: MuleConfiguration.java 12269 2008-07-10 04:19:03Z dfeist $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.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      /**
20       * The prefix for any Mule-specific properties set in the system properties
21       */
22      String SYSTEM_PROPERTY_PREFIX = "mule.";
23  
24      boolean isDefaultSynchronousEndpoints();
25  
26      int getDefaultSynchronousEventTimeout();
27  
28      boolean isDefaultRemoteSync();
29  
30      String getWorkingDirectory();
31  
32      String getMuleHomeDirectory();
33  
34      int getDefaultTransactionTimeout();
35  
36      boolean isClientMode();
37  
38      String getDefaultEncoding();
39  
40      String getId();
41  
42      String getClusterId();
43  
44      String getDomainId();
45  
46      String getSystemModelType();
47  
48      String getSystemName();
49  
50      boolean isAutoWrapMessageAwareTransform();
51  
52      boolean isCacheMessageAsBytes();
53  
54      boolean isCacheMessageOriginalPayload();
55  
56      boolean isEnableStreaming();
57  }