This commit is contained in:
xiusiyan
2012-03-18 22:57:34 +08:00
1153 changed files with 145776 additions and 145758 deletions
@@ -1,50 +1,50 @@
package com.alibaba.druid.jconsole;
import javax.management.MBeanServerConnection;
import javax.management.ObjectInstance;
public class NodeInfo {
private MBeanServerConnection connection;
private ObjectInstance objectInstance;
private NodeType type;
private Object data;
private String name;
public NodeInfo(MBeanServerConnection connection, ObjectInstance objectInstance, NodeType type, Object data,
String name){
this.connection = connection;
this.objectInstance = objectInstance;
this.type = type;
this.data = data;
this.name = name;
}
public ObjectInstance getObjectInstance() {
return objectInstance;
}
public MBeanServerConnection getConnection() {
return connection;
}
public NodeType getType() {
return type;
}
public Object getData() {
return data;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String toString() {
return name;
}
}
package com.alibaba.druid.jconsole;
import javax.management.MBeanServerConnection;
import javax.management.ObjectInstance;
public class NodeInfo {
private MBeanServerConnection connection;
private ObjectInstance objectInstance;
private NodeType type;
private Object data;
private String name;
public NodeInfo(MBeanServerConnection connection, ObjectInstance objectInstance, NodeType type, Object data,
String name){
this.connection = connection;
this.objectInstance = objectInstance;
this.type = type;
this.data = data;
this.name = name;
}
public ObjectInstance getObjectInstance() {
return objectInstance;
}
public MBeanServerConnection getConnection() {
return connection;
}
public NodeType getType() {
return type;
}
public Object getData() {
return data;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String toString() {
return name;
}
}