View Javadoc

1   /*
2    * $Id: MuleConfigurationServiceMBean.java 7963 2007-08-21 08:53:15Z 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  public interface MuleConfigurationServiceMBean
18  {
19      public boolean isSynchronous();
20  
21      public void setSynchronous(boolean synchronous);
22  
23      public int getSynchronousEventTimeout();
24  
25      public void setSynchronousEventTimeout(int synchronousEventTimeout);
26  
27      public boolean isRemoteSync();
28  
29      public void setRemoteSync(boolean remoteSync);
30  
31      public boolean isRecoverableMode();
32  
33      public void setRecoverableMode(boolean recoverableMode);
34  
35      public String getWorkingDirectory();
36  
37      public void setWorkingDirectory(String workingDirectory);
38  
39      public String[] getConfigResources();
40  
41      public String getServerUrl();
42  
43      public void setServerUrl(String serverUrl);
44  
45      public int getTransactionTimeout();
46  
47      public void setTransactionTimeout(int transactionTimeout);
48  
49      public boolean isClientMode();
50  
51      public void setClientMode(boolean clientMode);
52  
53      public boolean isEmbedded();
54  
55      public void setEmbedded(boolean embedded);
56  
57      public String getEncoding();
58  
59      public void setEncoding(String encoding);
60  
61      public boolean isEnableMessageEvents();
62  
63      public void setEnableMessageEvents(boolean enableMessageEvents);
64  }