1
2
3
4
5
6
7 package org.mule.module.management.mbean;
8
9 import org.mule.api.MuleException;
10
11 import java.util.Date;
12
13
14
15
16
17 public interface MuleServiceMBean
18 {
19
20
21 String DEFAULT_JMX_NAME = "name=MuleContext";
22
23 boolean isInitialised();
24
25 boolean isStopped();
26
27 Date getStartTime();
28
29 String getVersion();
30
31 String getVendor();
32
33 void start() throws MuleException;
34
35 void stop() throws MuleException;
36
37 void dispose() throws MuleException;
38
39 long getFreeMemory();
40
41 long getMaxMemory();
42
43 long getTotalMemory();
44
45 String getServerId();
46
47 String getHostname();
48
49 String getHostIp();
50
51 String getOsVersion();
52
53 String getJdkVersion();
54
55 String getCopyright();
56
57 String getLicense();
58
59 String getBuildDate();
60
61 String getBuildNumber();
62
63 String getInstanceId();
64
65
66
67
68
69
70 String getConfigBuilderClassName();
71 }