摘要: package mbeanTest; import java.util.Set; import javax.management.Attribute; import javax.management.MBeanOperationInfo; import javax.management.MBeanServer; import javax.management.MBeanServerFacto... 阅读全文
posted @ 2017-08-25 11:35 依然是等待 阅读(213) 评论(0) 推荐(0) 编辑
摘要: package mbeanTest; import java.lang.reflect.Constructor; import javax.management.Descriptor; import javax.management.InstanceNotFoundException; import javax.management.MBeanException; import javax.... 阅读全文
posted @ 2017-08-25 11:34 依然是等待 阅读(299) 评论(0) 推荐(0) 编辑
摘要: package mbeanTest; public interface HelloWorldMBean { public String getHello(); public void setHello(String hello); public Object getInstance(); public String message(String ms); ... 阅读全文
posted @ 2017-08-25 11:33 依然是等待 阅读(124) 评论(0) 推荐(0) 编辑
摘要: package mbeanTest; import java.lang.reflect.Method; import javax.management.Attribute; import javax.management.AttributeList; import javax.management.AttributeNotFoundException; import javax.manage... 阅读全文
posted @ 2017-08-25 11:32 依然是等待 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 package mbeanTest; 2 3 import javax.management.Notification; 4 import javax.management.NotificationBroadcasterSupport; 5 6 public class HelloWorld extends NotificationBroadcasterSupport imp... 阅读全文
posted @ 2017-08-25 11:31 依然是等待 阅读(119) 评论(0) 推荐(0) 编辑