View Javadoc

1   /*
2    * $Id: MuleConfigurationServiceMBean.java 7976 2007-08-21 14:26:13Z dirk.olmes $
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.management.mbeans;
12  
13  /**
14   * <code>MuleConfigurationServiceMBean</code> is a JMx service interface for the
15   * Mule server configuration
16   * 
17   * @author <a href="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
18   * @version $Revision: 7976 $
19   */
20  public interface MuleConfigurationServiceMBean
21  {
22      public boolean isSynchronous();
23  
24      public void setSynchronous(boolean synchronous);
25  
26      public int getSynchronousEventTimeout();
27  
28      public void setSynchronousEventTimeout(int synchronousEventTimeout);
29  
30      public boolean isRemoteSync();
31  
32      public void setRemoteSync(boolean remoteSync);
33  
34      public boolean isRecoverableMode();
35  
36      public void setRecoverableMode(boolean recoverableMode);
37  
38      public String getWorkingDirectory();
39  
40      public void setWorkingDirectory(String workingDirectory);
41  
42      public String[] getConfigResources();
43  
44      public String getServerUrl();
45  
46      public void setServerUrl(String serverUrl);
47  
48      public int getTransactionTimeout();
49  
50      public void setTransactionTimeout(int transactionTimeout);
51  
52      public boolean isClientMode();
53  
54      public void setClientMode(boolean clientMode);
55  
56      public boolean isEmbedded();
57  
58      public void setEmbedded(boolean embedded);
59  
60      public String getEncoding();
61  
62      public void setEncoding(String encoding);
63  
64      public boolean isEnableMessageEvents();
65  
66      public void setEnableMessageEvents(boolean enableMessageEvents);
67  }