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