forked from TeaTips/SplunkJavaAgent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMBean.java
More file actions
86 lines (64 loc) · 1.83 KB
/
Copy pathMBean.java
File metadata and controls
86 lines (64 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package com.splunk.javaagent.jmx.config;
import java.util.List;
/**
* POJO for an MBean
*
* For MBean definitions , standard JMX object name wildcard patterns * and ?
* supported for the domain and properties string attributes
* http://download.oracle
* .com/javase/1,5.0/docs/api/javax/management/ObjectName.html
*
*
* @author Damien Dallimore damien@dtdsoftware.com
*
*/
public class MBean {
// MBean domain literal string or pattern
public String domain = "";
// MBean properties list string or pattern in "key=value, key2=value2"
// format
public String propertiesList = "";
// if true, will dump all of the attributes for the MBean
public boolean dumpAllAttributes;
public List<Attribute> attributes;
public Notification notification;
public List<Operation> operations;
public MBean() {
}
public String getDomain() {
return domain;
}
public void setDomain(String domain) {
this.domain = domain;
}
public String getPropertiesList() {
return propertiesList;
}
public void setPropertiesList(String propertiesList) {
this.propertiesList = propertiesList;
}
public List<Attribute> getAttributes() {
return attributes;
}
public void setAttributes(List<Attribute> attributes) {
this.attributes = attributes;
}
public Notification getNotification() {
return notification;
}
public void setNotification(Notification notification) {
this.notification = notification;
}
public List<Operation> getOperations() {
return operations;
}
public void setOperations(List<Operation> operations) {
this.operations = operations;
}
public boolean isDumpAllAttributes() {
return dumpAllAttributes;
}
public void setDumpAllAttributes(boolean dumpAllAttributes) {
this.dumpAllAttributes = dumpAllAttributes;
}
}