- 浏览: 80241 次
- 性别:
- 来自: 上海
最新评论
-
nurenok:
1. 单线程原则, 在单线程执行的环境下,指令的执行是跟程序代 ...
Volatile语义的一些探讨 -
theoffspring:
model mbean资料真难找啊,找了2天都没找到一份权威的 ...
JMX Model MBean -
hobitton:
这个,要看具体应用环境吧。。。。
怎么正确处理InterruptedException -
hobitton:
有点疑问:引用 1. 单线程原则, 在单线程执行的环境下,指令 ...
Volatile语义的一些探讨 -
gaoshuaidage:
是不是因为我操作系统是英文的 然后它默认编码方式就是ISO-8 ...
说一说Java的native2ascii中的encoding
文章列表
Since Model MBean is much more flexible and is easy to decouple your manageable resouce from the mbean implementation details, people like to use it as the basic MBean. After we examine the Model MBean, let's see how to write our own Model MBean. First, let's review the Model MBean class diagram ...
- 2009-11-08 21:16
- 浏览 1344
- 评论(0)
The second MBean I want to bring in is the Dynamic MBean, the main purpose of using Dynamic MBean is that your management interface varies very often, just think of a simplest case, we have a managed resource about the Person's information, and now we can set and get the firstName and lastName of ...
As we know, Standard MBean is easy to use and implement, but it requires that the MBean interface has to be stable. If the manageable resoures are evolving over time, we need Dynamic MBean to help us out of this situation, but what if modifying the existing class is not an option? Then Model MBean ...
- 2009-10-14 22:08
- 浏览 2071
- 评论(3)
As we metioned before, JMX has three types of MBean, and the standard MBean is the simplest MBean of them, the other two are Dynamic MBean and Model MBean which we will cover in later articles.
However, a standard MBean must adhere to the following rules:
An MBean must be an concreate class. ...
- 2009-10-09 16:48
- 浏览 1293
- 评论(0)
If you have spring experience, you might know what MBeanRegistration interface is for.In fact, in my point of view, it acts as BeanFactoryAware interface in Spring framework. BeanFactoryAware is used for beans implemented this interface to hold a reference to a bean factory, then later it can look ...
- 2009-10-08 22:13
- 浏览 2129
- 评论(0)
Since Notification Model is actually a typical observer model, I will start with the observer model, and evolve it to the Notification Model in JMX.
Simply, the observer pattern allows one object (the observer) to watch another object ( the subject), actually the observer and the subject form ...
- 2009-10-05 12:56
- 浏览 1592
- 评论(1)
1.Purpose of Monitoring service
JMX Monitoring service provide a mechanism of monitoring your observable object with a predefined observable attribute. In the simplest case, you might want to get an email to be informed about the state of application especally when it crashes, then you can take ...
1.What does M-LET service can do?
M-Let service provide a mechanism of dynamic loading new MBeans without restarting your agent. Sounds like the things Dynamic MBean can do,huh? But there are some differences btw them. M-LET service can let agent use classes that are not in its original startup C ...
1.What is JMX architecture? First, let's get a overview of the JMX architecture, it contains three layers as below:
Instrumentation Layer: This layer only contains the manageable resources which might be property files or printer,fax device. Actually, no matter what the resources are, they are ...
- 2009-09-29 12:05
- 浏览 973
- 评论(0)